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: translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 107.3 kB / 16.41 MB, free: 6.465 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.001818/0.001818, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02215/0.02215, allocations: 4.652 MB / 295.9 MB, free: 10.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 409 MB, free: 27.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.09953, allocations: 50.51 MB / 459.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005357/0.1049, allocations: 3.961 MB / 463.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1066, allocations: 0.9076 MB / 464.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.1068, allocations: 19.94 kB / 464.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1071, allocations: 79.22 kB / 464.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.1074, allocations: 162.5 kB / 464.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1078, allocations: 175.8 kB / 464.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007602/0.1086, allocations: 0.7519 MB / 465.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007136/0.1093, allocations: 0.5158 MB / 466 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.1098, allocations: 279.2 kB / 466.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.1101, allocations: 302.7 kB / 466.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.801e-05/0.1102, allocations: 88 kB / 466.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1104, allocations: 84 kB / 466.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1105, allocations: 147.6 kB / 466.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.1109, allocations: 350.5 kB / 467.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007796/0.1117, allocations: 0.8257 MB / 468.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1117, allocations: 3.984 kB / 468.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1117, allocations: 0 / 468.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.1117, allocations: 0 / 468.1 MB, free: 15.83 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.001739/0.1134, allocations: 0.8952 MB / 469 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1135, allocations: 19.97 kB / 469 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1136, allocations: 60.19 kB / 469.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.1141, allocations: 375.2 kB / 469.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.1141, allocations: 37.38 kB / 469.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.63e-05/0.1142, allocations: 48.38 kB / 469.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1154, allocations: 0.589 MB / 470.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1154, allocations: 3.938 kB / 470.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.1155, allocations: 20 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1155, allocations: 12 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1165, allocations: 471.7 kB / 470.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.1191, allocations: 1.887 MB / 472.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.12, allocations: 433.7 kB / 472.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.1205, allocations: 281.9 kB / 473.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.1205, allocations: 4.281 kB / 473.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006479/0.1212, allocations: 321.5 kB / 473.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.833e-06/0.1212, allocations: 0 / 473.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001508/0.1227, allocations: 0.6521 MB / 474.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1228, allocations: 85.05 kB / 474.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.1232, allocations: 332.5 kB / 474.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.1233, allocations: 33.7 kB / 474.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.1235, allocations: 259.9 kB / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1236, allocations: 130.1 kB / 475 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.1237, allocations: 78.03 kB / 475.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1239, allocations: 350.7 kB / 475.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.1244, allocations: 204.8 kB / 475.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.1249, allocations: 275.4 kB / 475.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009456/0.1259, allocations: 0.5021 MB / 476.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1259, allocations: 0 / 476.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001191/0.1271, allocations: 0.6016 MB / 477 MB, free: 6.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.1271, allocations: 29.7 kB / 477 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1271, allocations: 4 kB / 477 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1272, allocations: 4 kB / 477 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/0.1278, allocations: 123.8 kB / 477.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1278, allocations: 7.984 kB / 477.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.1281, allocations: 47.67 kB / 477.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.1282, allocations: 24.11 kB / 477.2 MB, free: 6.336 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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002447/0.1284, allocations: 213.6 kB / 477.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.1285, allocations: 35.59 kB / 477.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009022/0.1294, allocations: 469.3 kB / 477.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1294, allocations: 4 kB / 477.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1294, allocations: 3.938 kB / 477.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1295, allocations: 8 kB / 477.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.1301, allocations: 0.5985 MB / 478.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1301, allocations: 0 / 478.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.1307, allocations: 111.9 kB / 478.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1307, allocations: 0 / 478.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.1308, allocations: 8 kB / 478.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1308, allocations: 4 kB / 478.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1308, allocations: 0 / 478.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1324, allocations: 0.7817 MB / 479.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1325, allocations: 116.6 kB / 479.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.1325, allocations: 16 kB / 479.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.1328, allocations: 23.97 kB / 479.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.133, allocations: 31.95 kB / 479.6 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.133, allocations: 15.98 kB / 479.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.1332, allocations: 239 kB / 479.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1332, allocations: 0 / 479.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.1337, allocations: 135.5 kB / 480 MB, free: 3.441 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001253/0.1338, allocations: 116 kB / 480.1 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.1349, allocations: 0.5184 MB / 480.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1349, allocations: 0 / 480.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.1355, allocations: 245.5 kB / 480.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.1359, allocations: 67.98 kB / 480.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.138, allocations: 1.187 MB / 482.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.1385, allocations: 0.8579 MB / 483 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.1386, allocations: 39.44 kB / 483 MB, free: 340 kB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1387, allocations: 0 / 483 MB, free: 340 kB / 350.1 MB Notification: Performance of Templates: time 0.008816/0.1475, allocations: 5.993 MB / 489 MB, free: 10.34 MB / 366.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile (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 & ./FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1)