Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009614, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1719/0.1719, allocations: 4.613 MB / 295.6 MB, free: 4.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 12 kB / 357.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 51.5 MB / 409.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.00321/0.1209, allocations: 2.673 MB / 411.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.122, allocations: 0.7567 MB / 412.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1222, allocations: 11.94 kB / 412.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1223, allocations: 39.69 kB / 412.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.1226, allocations: 123.6 kB / 412.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1228, allocations: 79.84 kB / 412.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.1233, allocations: 323.8 kB / 413.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.1236, allocations: 205.9 kB / 413.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.1238, allocations: 135.5 kB / 413.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.124, allocations: 147.3 kB / 413.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.1241, allocations: 20 kB / 413.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.954e-05/0.1242, allocations: 20 kB / 413.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.1242, allocations: 59.75 kB / 413.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1243, allocations: 101.5 kB / 413.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.1248, allocations: 423.2 kB / 414.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1248, allocations: 0 / 414.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1248, allocations: 0 / 414.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.1248, allocations: 0 / 414.3 MB, free: 9.773 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001263/0.1261, allocations: 0.6881 MB / 414.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1261, allocations: 8.031 kB / 415 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.043e-05/0.1262, allocations: 70.53 kB / 415 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.1263, allocations: 43.48 kB / 415.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.1266, allocations: 305.5 kB / 415.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.1268, allocations: 62.34 kB / 415.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.1268, allocations: 28 kB / 415.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.1276, allocations: 405 kB / 415.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1276, allocations: 3.938 kB / 415.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.1277, allocations: 12 kB / 415.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1277, allocations: 4 kB / 415.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.1285, allocations: 358.4 kB / 416.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.1307, allocations: 1.522 MB / 417.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.1318, allocations: 433.3 kB / 418.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1318, allocations: 4 kB / 418.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005394/0.1324, allocations: 252.9 kB / 418.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.512e-06/0.1324, allocations: 0 / 418.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001278/0.1337, allocations: 0.5438 MB / 419 MB, free: 4.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.1338, allocations: 85.09 kB / 419 MB, free: 4.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1341, allocations: 279 kB / 419.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1341, allocations: 33.7 kB / 419.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1343, allocations: 200.2 kB / 419.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.1344, allocations: 86.75 kB / 419.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.1344, allocations: 8 kB / 419.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1345, allocations: 334.8 kB / 420 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.135, allocations: 171.9 kB / 420.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.1354, allocations: 216.8 kB / 420.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.1358, allocations: 206.2 kB / 420.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1358, allocations: 3.938 kB / 420.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009815/0.1368, allocations: 494.8 kB / 421 MB, free: 2.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.1369, allocations: 29.7 kB / 421.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1369, allocations: 4 kB / 421.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1369, allocations: 0 / 421.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.138, allocations: 283.7 kB / 421.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.1397, allocations: 1.574 MB / 422.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.1401, allocations: 63.88 kB / 423 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.1401, allocations: 15.98 kB / 423 MB, free: 0.5391 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.1403, allocations: 175.6 kB / 423.2 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.1404, allocations: 31.58 kB / 423.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2126/0.353, allocations: 394.9 kB / 423.6 MB, free: 45.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.3531, allocations: 3.562 kB / 423.6 MB, free: 45.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3531, allocations: 0.6562 kB / 423.6 MB, free: 45.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3531, allocations: 3.297 kB / 423.6 MB, free: 45.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.3537, allocations: 447.2 kB / 424 MB, free: 45.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3538, allocations: 0.75 kB / 424 MB, free: 45.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.3549, allocations: 275.1 kB / 424.3 MB, free: 45.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.3549, allocations: 1.312 kB / 424.3 MB, free: 45.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.355, allocations: 8.438 kB / 424.3 MB, free: 45.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.3564, allocations: 1.578 MB / 425.9 MB, free: 44.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3564, allocations: 1.031 kB / 425.9 MB, free: 44.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3576, allocations: 0.6346 MB / 426.5 MB, free: 44.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.3577, allocations: 107.6 kB / 426.6 MB, free: 43.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.3577, allocations: 11.16 kB / 426.6 MB, free: 43.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.358, allocations: 42.59 kB / 426.7 MB, free: 43.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.3581, allocations: 34.2 kB / 426.7 MB, free: 43.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3581, allocations: 12.41 kB / 426.7 MB, free: 43.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.3583, allocations: 200 kB / 426.9 MB, free: 43.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3583, allocations: 0 / 426.9 MB, free: 43.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.3587, allocations: 89.59 kB / 427 MB, free: 43.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001301/0.36, allocations: 1.247 MB / 428.2 MB, free: 43.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.3615, allocations: 0.6094 MB / 428.9 MB, free: 43.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3615, allocations: 3.031 kB / 428.9 MB, free: 43.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.3626, allocations: 377.8 kB / 429.2 MB, free: 43.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.3629, allocations: 40.88 kB / 429.3 MB, free: 43.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.3665, allocations: 3.143 MB / 432.4 MB, free: 41.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3668, allocations: 0.8006 MB / 433.2 MB, free: 40.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.3669, allocations: 32.69 kB / 433.2 MB, free: 40.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.3671, allocations: 109 kB / 433.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3671, allocations: 0 / 433.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.3845, allocations: 6.214 MB / 439.6 MB, free: 40.34 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.3847, allocations: 195.2 kB / 439.8 MB, free: 40.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.141, allocations: 0 / 439.8 MB, free: 40.11 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) Environment - environmentSimulation: