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.00839/0.008397, allocations: 103.8 kB / 15.74 MB, free: 6.445 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.00172/0.00172, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1764/0.1764, allocations: 4.625 MB / 295.2 MB, free: 2.988 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.89 kB / 408.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2674, allocations: 50.49 MB / 458.8 MB, free: 20.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003647/0.2711, allocations: 2.875 MB / 461.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.272, allocations: 0.6677 MB / 462.3 MB, free: 17.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.2722, allocations: 3.156 kB / 462.3 MB, free: 17.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.2723, allocations: 49.27 kB / 462.4 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.2725, allocations: 87.84 kB / 462.5 MB, free: 17.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.2728, allocations: 100.1 kB / 462.6 MB, free: 17.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.2731, allocations: 388.2 kB / 462.9 MB, free: 17.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/0.2734, allocations: 191.3 kB / 463.1 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.2736, allocations: 154.7 kB / 463.3 MB, free: 17.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.2738, allocations: 151 kB / 463.4 MB, free: 17.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.2738, allocations: 40.34 kB / 463.5 MB, free: 17.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.161e-05/0.2739, allocations: 38.19 kB / 463.5 MB, free: 17.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.274, allocations: 73.92 kB / 463.6 MB, free: 17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.2741, allocations: 164.4 kB / 463.7 MB, free: 16.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.2745, allocations: 402.9 kB / 464.1 MB, free: 16.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2745, allocations: 3.672 kB / 464.1 MB, free: 16.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2745, allocations: 0 / 464.1 MB, free: 16.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.2745, allocations: 0 / 464.1 MB, free: 16.72 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00101/0.2755, allocations: 0.6378 MB / 464.8 MB, free: 16.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2756, allocations: 10.09 kB / 464.8 MB, free: 16.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.2756, allocations: 33.25 kB / 464.8 MB, free: 16.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2759, allocations: 290.3 kB / 465.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.2759, allocations: 18.94 kB / 465.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.276, allocations: 28.78 kB / 465.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006059/0.2766, allocations: 309.8 kB / 465.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2766, allocations: 4 kB / 465.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.2767, allocations: 10.59 kB / 465.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.2767, allocations: 5.125 kB / 465.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.2773, allocations: 246.8 kB / 465.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2786, allocations: 0.9918 MB / 466.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.2793, allocations: 283 kB / 467 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.2796, allocations: 146.6 kB / 467.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2797, allocations: 3.703 kB / 467.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.28, allocations: 184.7 kB / 467.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/0.28, allocations: 3.938 kB / 467.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009329/0.281, allocations: 374.7 kB / 467.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.281, allocations: 59.42 kB / 467.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.2812, allocations: 223.2 kB / 467.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.2812, allocations: 30.7 kB / 468 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.2813, allocations: 169.6 kB / 468.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.2814, allocations: 78.64 kB / 468.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.2815, allocations: 53.62 kB / 468.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.2816, allocations: 330.3 kB / 468.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.2818, allocations: 115 kB / 468.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.2821, allocations: 148.8 kB / 468.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.2827, allocations: 286.9 kB / 469.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2827, allocations: 1.531 kB / 469.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006835/0.2834, allocations: 355.9 kB / 469.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.2834, allocations: 32 kB / 469.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2834, allocations: 1.375 kB / 469.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.2835, allocations: 7.344 kB / 469.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.2838, allocations: 66.41 kB / 469.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2838, allocations: 3.594 kB / 469.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.284, allocations: 35.64 kB / 469.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.2841, allocations: 7.625 kB / 469.6 MB, free: 13.25 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.0001419/0.2842, allocations: 156.6 kB / 469.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.2843, allocations: 27.41 kB / 469.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.2849, allocations: 301.3 kB / 470.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2849, allocations: 1.375 kB / 470.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.285, allocations: 2.031 kB / 470.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.285, allocations: 1.406 kB / 470.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.2853, allocations: 372.2 kB / 470.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2853, allocations: 0 / 470.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.2857, allocations: 61.3 kB / 470.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2857, allocations: 4.844 kB / 470.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.2857, allocations: 7.375 kB / 470.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2857, allocations: 1.156 kB / 470.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2857, allocations: 0.7969 kB / 470.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.2866, allocations: 451.7 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.2867, allocations: 108.3 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.2867, allocations: 9.891 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.2869, allocations: 16.97 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.287, allocations: 30 kB / 471.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.2871, allocations: 4.625 kB / 471.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.2872, allocations: 160.8 kB / 471.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2872, allocations: 0 / 471.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.2875, allocations: 68.95 kB / 471.4 MB, free: 12.2 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.0001064/0.2876, allocations: 100.2 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006667/0.2883, allocations: 328.7 kB / 471.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2883, allocations: 0 / 471.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.2886, allocations: 132.8 kB / 471.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.2889, allocations: 39.06 kB / 472 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2901, allocations: 0.6066 MB / 472.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.2904, allocations: 0.7672 MB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.2905, allocations: 32.66 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.2906, allocations: 20.39 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2906, allocations: 0 / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Templates: time 0.007679/0.2983, allocations: 2.641 MB / 476 MB, free: 10.58 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)