Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 110.3 kB / 16.41 MB, free: 6.027 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.00162/0.00162, allocations: 185.7 kB / 17.34 MB, free: 5.633 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.303/1.303, 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.02164/0.02164, allocations: 4.651 MB / 295.9 MB, free: 10.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.89 kB / 409 MB, free: 27.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08147/0.08264, allocations: 50.5 MB / 459.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003974/0.08664, allocations: 2.868 MB / 462.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.08787, allocations: 0.6739 MB / 463 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.08812, allocations: 7.938 kB / 463 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.0883, allocations: 43.58 kB / 463.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.08851, allocations: 91.14 kB / 463.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.08882, allocations: 87.91 kB / 463.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.08922, allocations: 390.5 kB / 463.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.08957, allocations: 196.4 kB / 463.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.08977, allocations: 147.5 kB / 464 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.08997, allocations: 155.4 kB / 464.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.09003, allocations: 43.94 kB / 464.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.0901, allocations: 40 kB / 464.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.09019, allocations: 71.77 kB / 464.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.09035, allocations: 167.3 kB / 464.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.09071, allocations: 402.7 kB / 464.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.09072, allocations: 0 / 464.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.09073, allocations: 0 / 464.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.09074, allocations: 3.938 kB / 464.8 MB, free: 3.152 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001099/0.09185, allocations: 0.6332 MB / 465.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.09188, allocations: 8.031 kB / 465.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.09196, allocations: 32.56 kB / 465.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.09227, allocations: 268.7 kB / 465.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.0923, allocations: 20.94 kB / 465.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.09236, allocations: 28.38 kB / 465.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.09299, allocations: 315.9 kB / 466.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.09302, allocations: 0 / 466.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.09306, allocations: 12 kB / 466.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.09307, allocations: 4 kB / 466.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.09368, allocations: 246.1 kB / 466.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.09528, allocations: 0.9976 MB / 467.4 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.096, allocations: 282.6 kB / 467.7 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.09633, allocations: 144.8 kB / 467.8 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.09637, allocations: 4 kB / 467.8 MB, free: 0 / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.09678, allocations: 173.2 kB / 468 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.09679, allocations: 3.938 kB / 468 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009282/0.09773, allocations: 381.4 kB / 468.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.09778, allocations: 55.39 kB / 468.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.09799, allocations: 221 kB / 468.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.09803, allocations: 33.7 kB / 468.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.09817, allocations: 168 kB / 468.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.09825, allocations: 74.98 kB / 468.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.09834, allocations: 49.7 kB / 468.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.09846, allocations: 330.8 kB / 469.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.09885, allocations: 115.9 kB / 469.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.09917, allocations: 147.3 kB / 469.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.09976, allocations: 281.9 kB / 469.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.09977, allocations: 4 kB / 469.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007277/0.1005, allocations: 357.8 kB / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.1006, allocations: 37.8 kB / 470.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1006, allocations: 0 / 470.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1006, allocations: 7.984 kB / 470.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.1009, allocations: 59.95 kB / 470.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1009, allocations: 7.922 kB / 470.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.1012, allocations: 35.73 kB / 470.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.1012, allocations: 12 kB / 470.3 MB, free: 13.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.0001619/0.1014, allocations: 150 kB / 470.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.1014, allocations: 23.66 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/0.1022, allocations: 302.6 kB / 470.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1022, allocations: 7.984 kB / 470.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1022, allocations: 0 / 470.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-06/0.1022, allocations: 3.938 kB / 470.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.1026, allocations: 373.4 kB / 471.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1026, allocations: 0 / 471.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.1029, allocations: 55.89 kB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.1029, allocations: 7.938 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.103, allocations: 4 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.103, allocations: 0 / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.103, allocations: 4 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009989/0.104, allocations: 452.6 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.1041, allocations: 100.7 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.1041, allocations: 12 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.1043, allocations: 19.97 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.1044, allocations: 24.03 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1044, allocations: 8 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.1046, allocations: 160.5 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1046, allocations: 0 / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1049, allocations: 71.78 kB / 472 MB, free: 11.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.0001118/0.105, allocations: 104 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006873/0.1057, allocations: 326 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1057, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.106, allocations: 127.9 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1064, allocations: 32.61 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1076, allocations: 0.632 MB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.108, allocations: 0.767 MB / 474 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.1081, allocations: 19.44 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1081, allocations: 0 / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of Templates: time 0.0053/0.1134, allocations: 3.28 MB / 477.3 MB, free: 6.184 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)