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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 169 kB / 23.03 MB, free: 1.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.098/1.098, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01418/0.01418, allocations: 3.567 MB / 263.5 MB, free: 9.625 MB / 250.7 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 334.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.075e-05/4.347e-05, allocations: 4.562 kB / 334.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005417/0.00546, allocations: 4.009 MB / 338.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.008326, allocations: 0.9737 MB / 339.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.008799, allocations: 15.88 kB / 339.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.009091, allocations: 83.16 kB / 339.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004748/0.009565, allocations: 178.4 kB / 339.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.01031, allocations: 203.6 kB / 339.7 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009689/0.01128, allocations: 0.7852 MB / 340.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006198/0.0119, allocations: 328.8 kB / 340.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008783/0.01278, allocations: 455.1 kB / 341.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.01317, allocations: 235.4 kB / 341.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.01329, allocations: 84 kB / 341.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.01345, allocations: 96 kB / 341.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.01356, allocations: 151.5 kB / 341.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.01383, allocations: 243.5 kB / 342 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.01456, allocations: 498.4 kB / 342.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.01457, allocations: 0 / 342.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01457, allocations: 4 kB / 342.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.01458, allocations: 0 / 342.5 MB, free: 6.883 MB / 266.7 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.001449/0.01603, allocations: 0.9386 MB / 343.4 MB, free: 5.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.01609, allocations: 12.03 kB / 343.4 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.0165, allocations: 128.5 kB / 343.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.01699, allocations: 336.2 kB / 343.9 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.01703, allocations: 33.38 kB / 343.9 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/0.01712, allocations: 44.38 kB / 344 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/0.01776, allocations: 416.7 kB / 344.4 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.01778, allocations: 8.109 kB / 344.4 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.01781, allocations: 16.38 kB / 344.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.01783, allocations: 15.94 kB / 344.4 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.01812, allocations: 169.9 kB / 344.6 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.01969, allocations: 1.528 MB / 346.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.02001, allocations: 223.7 kB / 346.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.02018, allocations: 118.4 kB / 346.5 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.02022, allocations: 8.281 kB / 346.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.02049, allocations: 184.8 kB / 346.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.775e-06/0.0205, allocations: 0 / 346.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.0005362/0.02103, allocations: 315.1 kB / 346.9 MB, free: 2.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.02108, allocations: 85.05 kB / 347 MB, free: 2.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.02137, allocations: 346.3 kB / 347.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.0214, allocations: 37.7 kB / 347.4 MB, free: 1.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.02158, allocations: 311.1 kB / 347.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.02169, allocations: 146.8 kB / 347.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.02181, allocations: 79.84 kB / 347.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.02199, allocations: 0.5235 MB / 348.5 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.02216, allocations: 82.67 kB / 348.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.02233, allocations: 184.5 kB / 348.7 MB, free: 352 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.02261, allocations: 268.9 kB / 349 MB, free: 44 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02261, allocations: 0 / 349 MB, free: 44 kB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004818/0.0231, allocations: 382.1 kB / 349.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.02313, allocations: 33.7 kB / 349.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02314, allocations: 0 / 349.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.02316, allocations: 4 kB / 349.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.02351, allocations: 124 kB / 349.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.02352, allocations: 4 kB / 349.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.02367, allocations: 51.66 kB / 349.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.02369, allocations: 12 kB / 349.6 MB, free: 15.42 MB / 282.7 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.0001497/0.02384, allocations: 187.1 kB / 349.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.0239, allocations: 55.69 kB / 349.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.02434, allocations: 245.4 kB / 350.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.02435, allocations: 4 kB / 350.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.02435, allocations: 0 / 350.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.02436, allocations: 4 kB / 350.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.02474, allocations: 392.1 kB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.02475, allocations: 7.984 kB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.02507, allocations: 103.9 kB / 350.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.02507, allocations: 4 kB / 350.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.02511, allocations: 15.94 kB / 350.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.02511, allocations: 0 / 350.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.02511, allocations: 7.938 kB / 350.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.02565, allocations: 380.5 kB / 350.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.0257, allocations: 51.61 kB / 351 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.02574, allocations: 15.94 kB / 351 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.02584, allocations: 19.98 kB / 351 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.439e-05/0.02592, allocations: 35.94 kB / 351.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.02594, allocations: 7.984 kB / 351.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.02609, allocations: 231 kB / 351.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02609, allocations: 0 / 351.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003014/0.02639, allocations: 139.7 kB / 351.4 MB, free: 13.48 MB / 282.7 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.0001276/0.02652, allocations: 110.4 kB / 351.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004288/0.02695, allocations: 297.2 kB / 351.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02695, allocations: 0 / 351.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.02712, allocations: 119.4 kB / 352 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.02743, allocations: 60.5 kB / 352 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.02912, allocations: 0.9903 MB / 353 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.344e-05/0.02921, allocations: 137.1 kB / 353.1 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002/0.02941, allocations: 50.92 kB / 353.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.02951, allocations: 28.5 kB / 353.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02952, allocations: 0 / 353.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of Templates: time 0.007845/0.03736, allocations: 4.421 MB / 357.6 MB, free: 7.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile [Timeout 660] (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=240 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0568062430247664]