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.005344/0.005344, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001056/0.001056, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1252/0.1252, allocations: 4.624 MB / 295.2 MB, free: 3.016 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 59.91 kB / 408.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2525, allocations: 50.49 MB / 458.8 MB, free: 20.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003521/0.256, allocations: 2.867 MB / 461.7 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2573, allocations: 0.6693 MB / 462.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.2575, allocations: 3 kB / 462.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.2577, allocations: 48.36 kB / 462.4 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.2579, allocations: 86.97 kB / 462.5 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.2582, allocations: 104.1 kB / 462.6 MB, free: 17.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.2586, allocations: 382.5 kB / 462.9 MB, free: 17.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.259, allocations: 192.8 kB / 463.1 MB, free: 17.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.2591, allocations: 153.8 kB / 463.3 MB, free: 17.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.2593, allocations: 157.1 kB / 463.4 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.2594, allocations: 39.91 kB / 463.5 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/0.2594, allocations: 38.69 kB / 463.5 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.2595, allocations: 76.78 kB / 463.6 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.2596, allocations: 165.7 kB / 463.7 MB, free: 16.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.26, allocations: 399.6 kB / 464.1 MB, free: 16.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.26, allocations: 1.281 kB / 464.1 MB, free: 16.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.26, allocations: 0 / 464.1 MB, free: 16.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2601, allocations: 0 / 464.1 MB, free: 16.69 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.001018/0.2611, allocations: 0.6409 MB / 464.8 MB, free: 16.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2611, allocations: 8.406 kB / 464.8 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.2612, allocations: 35.53 kB / 464.8 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.2615, allocations: 280.6 kB / 465.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2615, allocations: 21 kB / 465.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.2616, allocations: 27.81 kB / 465.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.2622, allocations: 308.7 kB / 465.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2622, allocations: 0 / 465.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.2622, allocations: 14.97 kB / 465.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2622, allocations: 5.875 kB / 465.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.2628, allocations: 246.5 kB / 465.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2641, allocations: 0.9945 MB / 466.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/0.2648, allocations: 282.8 kB / 467 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.2651, allocations: 139.9 kB / 467.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.2652, allocations: 7.438 kB / 467.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003725/0.2656, allocations: 179.8 kB / 467.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.2656, allocations: 5.062 kB / 467.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009139/0.2665, allocations: 375 kB / 467.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.2665, allocations: 63.05 kB / 467.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2667, allocations: 217.5 kB / 467.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2668, allocations: 36.73 kB / 468 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.2669, allocations: 169.9 kB / 468.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.2669, allocations: 74.94 kB / 468.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.267, allocations: 47.08 kB / 468.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.2671, allocations: 336.1 kB / 468.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.2674, allocations: 105.4 kB / 468.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.2677, allocations: 157.4 kB / 468.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.2682, allocations: 291.7 kB / 469.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2682, allocations: 0 / 469.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006755/0.2689, allocations: 356.8 kB / 469.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.2689, allocations: 32.19 kB / 469.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.269, allocations: 6.547 kB / 469.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.269, allocations: 2.75 kB / 469.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.2693, allocations: 66.64 kB / 469.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.2693, allocations: 2.75 kB / 469.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.2695, allocations: 39.72 kB / 469.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.2695, allocations: 7.578 kB / 469.6 MB, free: 13.22 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.0001217/0.2697, allocations: 152.8 kB / 469.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.2697, allocations: 31.41 kB / 469.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006803/0.2704, allocations: 297 kB / 470.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2704, allocations: 2.844 kB / 470.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2704, allocations: 0 / 470.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2704, allocations: 1.312 kB / 470.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.2708, allocations: 372.6 kB / 470.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2708, allocations: 0.6094 kB / 470.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.2711, allocations: 64.86 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2711, allocations: 5.812 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.2711, allocations: 6.828 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2711, allocations: 1.953 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2711, allocations: 0 / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.2721, allocations: 447.9 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.2721, allocations: 111.4 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.2722, allocations: 7.484 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.2723, allocations: 14.67 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.2724, allocations: 26.86 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.2725, allocations: 5.406 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.2726, allocations: 164.1 kB / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2726, allocations: 0 / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.2729, allocations: 65.64 kB / 471.4 MB, free: 12.18 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.348e-05/0.273, allocations: 104.6 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006232/0.2736, allocations: 327.5 kB / 471.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2737, allocations: 0 / 471.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.2739, allocations: 133.2 kB / 471.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.2742, allocations: 45.77 kB / 472 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/0.2752, allocations: 0.6084 MB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.2755, allocations: 0.7664 MB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.2756, allocations: 33.55 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.2757, allocations: 20.16 kB / 473.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of SimCode: time 1.372e-06/0.2757, allocations: 0 / 473.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Templates: time 0.006445/0.2821, 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)