Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.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.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",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.000912/0.0009121, allocations: 100 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.0009105/0.0009105, 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.366/1.366, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1632/0.1632, allocations: 4.616 MB / 295.6 MB, free: 4.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 8 kB / 357.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 51.5 MB / 409.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004351/0.125, allocations: 3.358 MB / 412.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1269, allocations: 0.8886 MB / 413.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000475/0.1274, allocations: 15.94 kB / 413.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.1278, allocations: 63.52 kB / 413.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005757/0.1284, allocations: 167.5 kB / 413.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.1289, allocations: 103.9 kB / 413.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008043/0.1297, allocations: 480 kB / 414.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006439/0.1304, allocations: 372.4 kB / 414.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.1307, allocations: 187.3 kB / 414.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.1311, allocations: 211 kB / 415 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.581e-05/0.1312, allocations: 28 kB / 415 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1313, allocations: 32 kB / 415 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.1314, allocations: 91.53 kB / 415.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.1316, allocations: 137.5 kB / 415.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006241/0.1322, allocations: 0.6315 MB / 415.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1323, allocations: 3.938 kB / 415.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1323, allocations: 4 kB / 415.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.1323, allocations: 4 kB / 415.9 MB, free: 8.148 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001681/0.134, allocations: 0.7993 MB / 416.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1341, allocations: 15.97 kB / 416.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.1342, allocations: 90.52 kB / 416.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.1344, allocations: 63.3 kB / 416.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.135, allocations: 366 kB / 417.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.135, allocations: 37 kB / 417.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/0.1351, allocations: 48 kB / 417.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.1363, allocations: 0.5887 MB / 417.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1363, allocations: 0 / 417.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.1364, allocations: 20 kB / 417.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1364, allocations: 12 kB / 417.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.1375, allocations: 0.4918 MB / 418.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.1401, allocations: 1.91 MB / 420.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.1409, allocations: 455 kB / 420.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.141, allocations: 8.281 kB / 420.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/0.1415, allocations: 317.3 kB / 421.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.853e-06/0.1415, allocations: 0 / 421.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001402/0.143, allocations: 0.6868 MB / 421.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.143, allocations: 85.11 kB / 421.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.1434, allocations: 340.4 kB / 422.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.1434, allocations: 33.7 kB / 422.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1436, allocations: 248 kB / 422.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1437, allocations: 134.1 kB / 422.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.1438, allocations: 12 kB / 422.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1439, allocations: 346.8 kB / 423 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.1443, allocations: 216.8 kB / 423.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.1448, allocations: 291.4 kB / 423.4 MB, free: 276 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.1453, allocations: 271.2 kB / 423.7 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1453, allocations: 0 / 423.7 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.2198/0.3651, allocations: 0.6058 MB / 424.3 MB, free: 45.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.3652, allocations: 33.73 kB / 424.4 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3652, allocations: 3.391 kB / 424.4 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3653, allocations: 6.156 kB / 424.4 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.3659, allocations: 128.2 kB / 424.5 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.3659, allocations: 7.75 kB / 424.5 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.3663, allocations: 79.88 kB / 424.6 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.3664, allocations: 15.52 kB / 424.6 MB, free: 45.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003055/0.3667, allocations: 216.9 kB / 424.8 MB, free: 45.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.3667, allocations: 43.02 kB / 424.8 MB, free: 45.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007582/0.3675, allocations: 472 kB / 425.3 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3675, allocations: 4.844 kB / 425.3 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3675, allocations: 6.719 kB / 425.3 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3675, allocations: 2.484 kB / 425.3 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.3681, allocations: 0.5981 MB / 425.9 MB, free: 44.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3681, allocations: 3.281 kB / 425.9 MB, free: 44.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.3686, allocations: 116.2 kB / 426 MB, free: 44.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3686, allocations: 7.75 kB / 426 MB, free: 44.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.3687, allocations: 10.5 kB / 426 MB, free: 44.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3687, allocations: 3.5 kB / 426.1 MB, free: 44.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3687, allocations: 7.062 kB / 426.1 MB, free: 44.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.3699, allocations: 0.8158 MB / 426.9 MB, free: 44.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.37, allocations: 128.5 kB / 427 MB, free: 44.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.3701, allocations: 10.48 kB / 427 MB, free: 44.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3704, allocations: 44.45 kB / 427.1 MB, free: 44.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.3e-05/0.3705, allocations: 39.64 kB / 427.1 MB, free: 44.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.3705, allocations: 9.562 kB / 427.1 MB, free: 44.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.3707, allocations: 239.2 kB / 427.3 MB, free: 44.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3707, allocations: 0 / 427.3 MB, free: 44.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000372/0.3711, allocations: 136.7 kB / 427.5 MB, free: 44.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/0.3725, allocations: 1.457 MB / 428.9 MB, free: 43.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.3736, allocations: 0.5473 MB / 429.5 MB, free: 43.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3736, allocations: 6.094 kB / 429.5 MB, free: 43.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.374, allocations: 257.6 kB / 429.7 MB, free: 43.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.3743, allocations: 49.05 kB / 429.8 MB, free: 43.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.379, allocations: 4.16 MB / 433.9 MB, free: 41.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3793, allocations: 0.88 MB / 434.8 MB, free: 40.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.3796, allocations: 55.7 kB / 434.9 MB, free: 40.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.3798, allocations: 154.4 kB / 435 MB, free: 40.86 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3798, allocations: 0 / 435 MB, free: 40.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.3981, allocations: 7.907 MB / 442.9 MB, free: 40.33 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.3983, allocations: 179.2 kB / 443.1 MB, free: 40.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.101, allocations: 0 / 443.1 MB, free: 40.09 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) Environment - environmentSimulation: