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.001142/0.001142, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009868/0.009868, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.747/1.747, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1565/0.1565, allocations: 4.626 MB / 296.1 MB, free: 4.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003556, allocations: 8 kB / 358.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 51.48 MB / 409.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005253/0.1377, allocations: 3.799 MB / 413.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.1403, allocations: 0.8802 MB / 414.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.141, allocations: 12 kB / 414.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.1413, allocations: 63.53 kB / 414.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.142, allocations: 138.8 kB / 414.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.1426, allocations: 155.9 kB / 414.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.1438, allocations: 0.6972 MB / 415.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008558/0.1446, allocations: 453.9 kB / 416 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004389/0.1451, allocations: 199.2 kB / 416.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/0.1455, allocations: 226.8 kB / 416.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.1457, allocations: 28 kB / 416.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1458, allocations: 28 kB / 416.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1459, allocations: 91.61 kB / 416.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.1463, allocations: 292.3 kB / 416.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008615/0.1472, allocations: 0.7594 MB / 417.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1472, allocations: 3.938 kB / 417.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1472, allocations: 7.875 kB / 417.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.1472, allocations: 4 kB / 417.6 MB, free: 6.754 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.001934/0.1492, allocations: 0.8017 MB / 418.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1492, allocations: 8.031 kB / 418.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.1495, allocations: 60.28 kB / 418.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005757/0.15, allocations: 379.1 kB / 418.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.1501, allocations: 33.38 kB / 418.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.1503, allocations: 48.38 kB / 418.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.1517, allocations: 0.6047 MB / 419.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.1517, allocations: 3.984 kB / 419.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.1518, allocations: 20 kB / 419.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.1518, allocations: 12 kB / 419.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.1531, allocations: 499.6 kB / 420.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.1571, allocations: 1.906 MB / 422 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.1581, allocations: 461.5 kB / 422.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.1587, allocations: 298.2 kB / 422.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.274e-05/0.1588, allocations: 8.281 kB / 422.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007054/0.1595, allocations: 325.8 kB / 423 MB, free: 1.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 3.467e-06/0.1595, allocations: 0 / 423 MB, free: 1.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001815/0.1613, allocations: 0.694 MB / 423.7 MB, free: 400 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.1615, allocations: 85.11 kB / 423.8 MB, free: 296 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2315/0.3929, allocations: 329 kB / 424.1 MB, free: 45.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.3931, allocations: 34.61 kB / 424.2 MB, free: 45.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3933, allocations: 256.6 kB / 424.4 MB, free: 45.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.3935, allocations: 131.2 kB / 424.5 MB, free: 45.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.3936, allocations: 43.3 kB / 424.6 MB, free: 45.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.3937, allocations: 353.9 kB / 424.9 MB, free: 45.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/0.3942, allocations: 218.8 kB / 425.1 MB, free: 45.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.3948, allocations: 283.8 kB / 425.4 MB, free: 45.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.3958, allocations: 0.5309 MB / 425.9 MB, free: 44.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3958, allocations: 0 / 425.9 MB, free: 44.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001103/0.3969, allocations: 0.6247 MB / 426.6 MB, free: 44.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.397, allocations: 34.55 kB / 426.6 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.397, allocations: 0 / 426.6 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.397, allocations: 18.12 kB / 426.6 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.3976, allocations: 122.7 kB / 426.7 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3976, allocations: 9.766 kB / 426.8 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.398, allocations: 78.25 kB / 426.8 MB, free: 44.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.3981, allocations: 18.7 kB / 426.8 MB, free: 44.84 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.0002562/0.3983, allocations: 211 kB / 427.1 MB, free: 44.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.3984, allocations: 31.81 kB / 427.1 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/0.3992, allocations: 483.8 kB / 427.6 MB, free: 44.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3992, allocations: 3.812 kB / 427.6 MB, free: 44.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.3993, allocations: 3.156 kB / 427.6 MB, free: 44.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3993, allocations: 3.516 kB / 427.6 MB, free: 44.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.3999, allocations: 0.5959 MB / 428.2 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3999, allocations: 2.406 kB / 428.2 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.4004, allocations: 122 kB / 428.3 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.4004, allocations: 4.594 kB / 428.3 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.4005, allocations: 16.89 kB / 428.3 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4005, allocations: 3.219 kB / 428.3 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4005, allocations: 0 / 428.3 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.4019, allocations: 0.8094 MB / 429.1 MB, free: 44.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.402, allocations: 123.8 kB / 429.2 MB, free: 44.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.4021, allocations: 13 kB / 429.3 MB, free: 44.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.4024, allocations: 40.84 kB / 429.3 MB, free: 44.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4025, allocations: 39.41 kB / 429.3 MB, free: 44.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.4026, allocations: 9.906 kB / 429.3 MB, free: 44.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.4028, allocations: 243.1 kB / 429.6 MB, free: 44.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4028, allocations: 0 / 429.6 MB, free: 44.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004233/0.4032, allocations: 136.6 kB / 429.7 MB, free: 44.14 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.0001139/0.4034, allocations: 109.5 kB / 429.8 MB, free: 44.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009689/0.4043, allocations: 0.5546 MB / 430.4 MB, free: 43.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4044, allocations: 4 kB / 430.4 MB, free: 43.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.4048, allocations: 259.2 kB / 430.6 MB, free: 43.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.4053, allocations: 55.31 kB / 430.7 MB, free: 43.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.4076, allocations: 1.468 MB / 432.2 MB, free: 43.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.408, allocations: 0.8708 MB / 433 MB, free: 42.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000254/0.4082, allocations: 56.91 kB / 433.1 MB, free: 42.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4084, allocations: 28.69 kB / 433.1 MB, free: 42.44 MB / 350.1 MB Notification: Performance of SimCode: time 1.674e-06/0.4084, allocations: 0 / 433.1 MB, free: 42.44 MB / 350.1 MB Notification: Performance of Templates: time 0.008171/0.4165, allocations: 3.998 MB / 437.1 MB, free: 42.21 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: