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.001359/0.001358, allocations: 105.3 kB / 16.41 MB, free: 6.453 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.001518/0.001518, 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02156/0.02156, allocations: 4.648 MB / 295.9 MB, free: 10.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.91 kB / 409 MB, free: 27.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07217/0.07337, allocations: 50.5 MB / 459.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004815/0.07823, allocations: 3.98 MB / 463.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.07982, allocations: 0.8998 MB / 464.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.08011, allocations: 15.94 kB / 464.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.08037, allocations: 79.22 kB / 464.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.08071, allocations: 170.5 kB / 464.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.08113, allocations: 175.8 kB / 464.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.08191, allocations: 0.7558 MB / 465.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.08261, allocations: 0.5041 MB / 466 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.08299, allocations: 279.2 kB / 466.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.08339, allocations: 302.7 kB / 466.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.08352, allocations: 88 kB / 466.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.08364, allocations: 88 kB / 466.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.08378, allocations: 147.6 kB / 466.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.0841, allocations: 346.5 kB / 467.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.08482, allocations: 0.8374 MB / 468.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.08483, allocations: 0 / 468.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.08484, allocations: 0 / 468.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.08487, 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.00167/0.08654, allocations: 0.8913 MB / 469 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.08658, allocations: 12.02 kB / 469 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.08672, allocations: 68.19 kB / 469.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.08716, allocations: 371.1 kB / 469.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.0872, allocations: 37.38 kB / 469.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.08729, allocations: 48.38 kB / 469.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.08837, allocations: 0.589 MB / 470.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.08839, allocations: 0 / 470.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.08845, allocations: 23.94 kB / 470.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.08846, allocations: 12 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009655/0.08943, allocations: 467.7 kB / 470.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.09189, allocations: 1.898 MB / 472.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.09266, allocations: 429.7 kB / 472.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/0.09315, allocations: 282.2 kB / 473.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.0932, allocations: 8.281 kB / 473.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/0.09377, allocations: 305.6 kB / 473.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.653e-06/0.09379, allocations: 3.938 kB / 473.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001436/0.09523, allocations: 0.648 MB / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.09529, allocations: 93.05 kB / 474.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.09564, allocations: 340.4 kB / 474.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.09569, allocations: 33.7 kB / 474.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.09586, allocations: 248 kB / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.09597, allocations: 134.1 kB / 475 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.09612, allocations: 82.03 kB / 475.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.09625, allocations: 350.7 kB / 475.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.0967, allocations: 204.8 kB / 475.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.09718, allocations: 271.4 kB / 475.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009013/0.09809, allocations: 0.5021 MB / 476.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.09811, allocations: 4 kB / 476.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001124/0.09924, allocations: 0.5977 MB / 477 MB, free: 6.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.09929, allocations: 29.7 kB / 477 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.0993, allocations: 4 kB / 477 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.09932, allocations: 4 kB / 477 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.09989, allocations: 123.8 kB / 477.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.09991, allocations: 4 kB / 477.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.1002, allocations: 47.66 kB / 477.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.1003, allocations: 20.12 kB / 477.2 MB, free: 6.352 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.000236/0.1005, allocations: 216.5 kB / 477.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.1006, allocations: 43.52 kB / 477.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008384/0.1014, allocations: 465.3 kB / 477.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1014, allocations: 7.938 kB / 477.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1015, allocations: 0 / 477.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1015, allocations: 7.984 kB / 477.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.1021, allocations: 0.5986 MB / 478.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1021, allocations: 0 / 478.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.1027, allocations: 107.9 kB / 478.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1027, allocations: 0 / 478.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.1027, allocations: 12 kB / 478.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1027, allocations: 3.984 kB / 478.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1027, allocations: 4 kB / 478.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.1042, allocations: 0.7778 MB / 479.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.1043, allocations: 116.6 kB / 479.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.1043, allocations: 8 kB / 479.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1046, allocations: 31.91 kB / 479.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.1047, allocations: 35.95 kB / 479.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.1048, allocations: 11.98 kB / 479.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.105, allocations: 239 kB / 479.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.105, allocations: 4 kB / 479.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.1054, allocations: 135.5 kB / 480 MB, free: 3.449 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.0001183/0.1055, allocations: 108 kB / 480.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.1067, allocations: 0.5262 MB / 480.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1067, allocations: 0 / 480.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000634/0.1073, allocations: 241.5 kB / 480.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1077, allocations: 65.36 kB / 480.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.1097, allocations: 1.191 MB / 482.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1101, allocations: 0.8579 MB / 483 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.1103, allocations: 39.38 kB / 483 MB, free: 348 kB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1103, allocations: 0 / 483 MB, free: 348 kB / 350.1 MB Notification: Performance of Templates: time 0.008287/0.1186, allocations: 5.923 MB / 488.9 MB, free: 10.43 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)