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.005837/0.005837, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001217/0.001218, allocations: 196.3 kB / 16.67 MB, free: 5.93 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1266/0.1266, allocations: 4.628 MB / 295.2 MB, free: 3.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.91 kB / 408.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.257, allocations: 50.5 MB / 458.8 MB, free: 20.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003048/0.2601, allocations: 2.869 MB / 461.7 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.261, allocations: 0.6717 MB / 462.3 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.2611, allocations: 6.188 kB / 462.3 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.2613, allocations: 45.55 kB / 462.4 MB, free: 17.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.2615, allocations: 87.73 kB / 462.5 MB, free: 17.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.2618, allocations: 100.3 kB / 462.6 MB, free: 17.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.2621, allocations: 380.7 kB / 462.9 MB, free: 17.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.2625, allocations: 202.2 kB / 463.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.2626, allocations: 142.7 kB / 463.3 MB, free: 17.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.2628, allocations: 162.5 kB / 463.4 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.2629, allocations: 37.34 kB / 463.5 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.2629, allocations: 39.78 kB / 463.5 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.263, allocations: 72.42 kB / 463.6 MB, free: 16.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.2631, allocations: 164.7 kB / 463.7 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.2635, allocations: 404.6 kB / 464.1 MB, free: 16.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2635, allocations: 0 / 464.1 MB, free: 16.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2635, allocations: 0 / 464.1 MB, free: 16.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.2635, allocations: 0 / 464.1 MB, free: 16.65 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.001006/0.2645, allocations: 0.6334 MB / 464.8 MB, free: 16.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2646, allocations: 9.031 kB / 464.8 MB, free: 16.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.2647, allocations: 34.72 kB / 464.8 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.2649, allocations: 276.9 kB / 465.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2649, allocations: 16.59 kB / 465.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.265, allocations: 28.06 kB / 465.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.2656, allocations: 310.9 kB / 465.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2656, allocations: 1.375 kB / 465.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.2656, allocations: 14.38 kB / 465.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.2657, allocations: 5.656 kB / 465.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005887/0.2663, allocations: 250.9 kB / 465.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.2677, allocations: 0.9946 MB / 466.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/0.2685, allocations: 279.1 kB / 467 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.2689, allocations: 145.9 kB / 467.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.2689, allocations: 1.438 kB / 467.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.2693, allocations: 175 kB / 467.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.2693, allocations: 5.25 kB / 467.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009915/0.2703, allocations: 378.8 kB / 467.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2704, allocations: 55.52 kB / 467.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.2706, allocations: 218.5 kB / 467.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2706, allocations: 35.89 kB / 467.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.2707, allocations: 172.4 kB / 468.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.2708, allocations: 71.52 kB / 468.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.2709, allocations: 47.41 kB / 468.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.271, allocations: 336.3 kB / 468.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.2712, allocations: 105.8 kB / 468.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.2715, allocations: 148.2 kB / 468.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.272, allocations: 287.7 kB / 469.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.272, allocations: 0 / 469.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006795/0.2727, allocations: 361.6 kB / 469.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.2728, allocations: 34.52 kB / 469.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.2728, allocations: 6.5 kB / 469.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.2728, allocations: 2.219 kB / 469.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.2731, allocations: 63.2 kB / 469.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2732, allocations: 2.156 kB / 469.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.2734, allocations: 44.38 kB / 469.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2734, allocations: 11.77 kB / 469.6 MB, free: 13.21 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.0001318/0.2735, allocations: 152.3 kB / 469.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.2736, allocations: 31.22 kB / 469.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006937/0.2743, allocations: 296.2 kB / 470.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2743, allocations: 2.75 kB / 470.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2743, allocations: 5.312 kB / 470.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2743, allocations: 1.312 kB / 470.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.2747, allocations: 372.3 kB / 470.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2747, allocations: 0.9844 kB / 470.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.275, allocations: 60.41 kB / 470.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.275, allocations: 5.312 kB / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2751, allocations: 2.781 kB / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2751, allocations: 1.375 kB / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2751, allocations: 0 / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.276, allocations: 462.2 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.2761, allocations: 99.98 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.2762, allocations: 6.984 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2763, allocations: 25.55 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.2764, allocations: 19.66 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.2765, allocations: 10.5 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.2766, allocations: 163.9 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2766, allocations: 0 / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.2769, allocations: 65.38 kB / 471.3 MB, free: 12.17 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 9.1e-05/0.277, allocations: 100.5 kB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.2776, allocations: 326.6 kB / 471.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2777, allocations: 0 / 471.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.2779, allocations: 127.4 kB / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.2782, allocations: 35.78 kB / 471.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2793, allocations: 0.6123 MB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.2795, allocations: 0.7666 MB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.2797, allocations: 29.41 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.2798, allocations: 23.45 kB / 473.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2798, allocations: 0 / 473.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.006838/0.2866, allocations: 2.637 MB / 476 MB, free: 10.55 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)