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.0009778/0.0009775, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001072/0.001073, allocations: 172.7 kB / 15.95 MB, free: 208 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.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1586/0.1586, allocations: 4.625 MB / 295.7 MB, free: 4.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004674, allocations: 4 kB / 357.7 MB, free: 2.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1296, allocations: 51.5 MB / 409.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004674/0.1343, allocations: 3.611 MB / 412.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1366, allocations: 0.8533 MB / 413.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003846/0.137, allocations: 11.94 kB / 413.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1373, allocations: 63.47 kB / 413.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.1377, allocations: 142.9 kB / 413.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1381, allocations: 99.84 kB / 414 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.1392, allocations: 0.6855 MB / 414.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000845/0.14, allocations: 364.4 kB / 415 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.1405, allocations: 191.3 kB / 415.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.1409, allocations: 215 kB / 415.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.827e-05/0.141, allocations: 28 kB / 415.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.84e-05/0.1411, allocations: 28 kB / 415.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.1412, allocations: 91.59 kB / 415.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.1414, allocations: 137.5 kB / 415.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.1421, allocations: 0.6431 MB / 416.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1421, allocations: 3.938 kB / 416.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1421, allocations: 0 / 416.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.684e-05/0.1421, allocations: 0 / 416.3 MB, free: 7.785 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.001889/0.144, allocations: 0.8034 MB / 417.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.1441, allocations: 12.02 kB / 417.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.1444, allocations: 63.3 kB / 417.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.1451, allocations: 362.1 kB / 417.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.1451, allocations: 37 kB / 417.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.1453, allocations: 52 kB / 417.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1466, allocations: 0.5887 MB / 418.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1467, allocations: 4 kB / 418.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.1467, allocations: 20 kB / 418.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.1467, allocations: 12 kB / 418.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.1479, allocations: 0.4956 MB / 418.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.1508, allocations: 1.907 MB / 420.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/0.1516, allocations: 445.9 kB / 421.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.1522, allocations: 298.2 kB / 421.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.1522, allocations: 8.266 kB / 421.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.1528, allocations: 321.1 kB / 421.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.184e-06/0.1528, allocations: 0 / 421.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001493/0.1543, allocations: 0.694 MB / 422.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.1544, allocations: 81.11 kB / 422.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.1548, allocations: 348.3 kB / 422.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1549, allocations: 33.7 kB / 422.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1551, allocations: 248 kB / 423.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.1552, allocations: 138.1 kB / 423.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.1553, allocations: 11.94 kB / 423.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1554, allocations: 346.8 kB / 423.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.1558, allocations: 216.8 kB / 423.8 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2282/0.3841, allocations: 283.6 kB / 424.1 MB, free: 45.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.3846, allocations: 268.3 kB / 424.3 MB, free: 45.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3846, allocations: 0.5 kB / 424.3 MB, free: 45.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001388/0.386, allocations: 0.6136 MB / 425 MB, free: 45.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.3861, allocations: 33.2 kB / 425 MB, free: 45.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3861, allocations: 3.188 kB / 425 MB, free: 45.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3861, allocations: 3.375 kB / 425 MB, free: 45.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.3867, allocations: 134.2 kB / 425.1 MB, free: 45.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3867, allocations: 3.312 kB / 425.1 MB, free: 45.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.3871, allocations: 80.41 kB / 425.2 MB, free: 45.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.3872, allocations: 18.11 kB / 425.2 MB, free: 45.2 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.0002545/0.3874, allocations: 214.4 kB / 425.4 MB, free: 45.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.3875, allocations: 36.03 kB / 425.5 MB, free: 45.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007751/0.3883, allocations: 482.7 kB / 425.9 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3883, allocations: 3.344 kB / 425.9 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3883, allocations: 0 / 425.9 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3883, allocations: 3.25 kB / 426 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.3889, allocations: 0.5914 MB / 426.5 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3889, allocations: 5.984 kB / 426.5 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/0.3894, allocations: 123.4 kB / 426.7 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3894, allocations: 6.969 kB / 426.7 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.3894, allocations: 6.562 kB / 426.7 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.3894, allocations: 2.516 kB / 426.7 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3894, allocations: 0 / 426.7 MB, free: 44.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.3907, allocations: 0.8165 MB / 427.5 MB, free: 44.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.3908, allocations: 118.5 kB / 427.6 MB, free: 44.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.3908, allocations: 14.14 kB / 427.6 MB, free: 44.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3911, allocations: 46.34 kB / 427.7 MB, free: 44.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3912, allocations: 39.3 kB / 427.7 MB, free: 44.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.3913, allocations: 9.781 kB / 427.7 MB, free: 44.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.3915, allocations: 238.7 kB / 428 MB, free: 44.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3915, allocations: 0 / 428 MB, free: 44.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.3919, allocations: 139.4 kB / 428.1 MB, free: 44.6 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.0001127/0.392, allocations: 110.3 kB / 428.2 MB, free: 44.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009714/0.393, allocations: 0.5504 MB / 428.8 MB, free: 44.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.393, allocations: 0 / 428.8 MB, free: 44.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004474/0.3935, allocations: 259.1 kB / 429 MB, free: 44.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3939, allocations: 58.72 kB / 429.1 MB, free: 44.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3956, allocations: 1.418 MB / 430.5 MB, free: 43.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3958, allocations: 0.8651 MB / 431.3 MB, free: 42.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.396, allocations: 58.72 kB / 431.4 MB, free: 42.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3961, allocations: 27.12 kB / 431.4 MB, free: 42.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3962, allocations: 0 / 431.4 MB, free: 42.95 MB / 350.1 MB Notification: Performance of Templates: time 0.006805/0.403, allocations: 3.891 MB / 435.3 MB, free: 42.72 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: