Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_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.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005889/0.005889, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001215/0.001216, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1258/0.1258, allocations: 4.627 MB / 295.2 MB, free: 3.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 408.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2481, allocations: 50.5 MB / 458.8 MB, free: 20.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.003321/0.2515, allocations: 2.871 MB / 461.7 MB, free: 18.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000967/0.2525, allocations: 0.6796 MB / 462.3 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.2526, allocations: 6.125 kB / 462.3 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.2528, allocations: 42.84 kB / 462.4 MB, free: 17.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.2529, allocations: 91.2 kB / 462.5 MB, free: 17.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.2533, allocations: 104.4 kB / 462.6 MB, free: 17.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.2537, allocations: 405.8 kB / 463 MB, free: 17.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004058/0.2541, allocations: 248.4 kB / 463.2 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2543, allocations: 155.7 kB / 463.4 MB, free: 17.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.2546, allocations: 155.6 kB / 463.5 MB, free: 16.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.2546, allocations: 44.62 kB / 463.6 MB, free: 16.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.066e-05/0.2547, allocations: 44.47 kB / 463.6 MB, free: 16.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.2548, allocations: 74.47 kB / 463.7 MB, free: 16.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.255, allocations: 179.4 kB / 463.9 MB, free: 16.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.2555, allocations: 430 kB / 464.3 MB, free: 16.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2555, allocations: 0 / 464.3 MB, free: 16.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2555, allocations: 0 / 464.3 MB, free: 16.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.2555, allocations: 0 / 464.3 MB, free: 16.6 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.00115/0.2567, allocations: 0.6392 MB / 464.9 MB, free: 16.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2567, allocations: 12.34 kB / 464.9 MB, free: 16.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.2568, allocations: 33.86 kB / 465 MB, free: 16.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.2571, allocations: 280.7 kB / 465.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.2572, allocations: 19.38 kB / 465.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.2572, allocations: 29.53 kB / 465.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.2579, allocations: 333.9 kB / 465.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.258, allocations: 0 / 465.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.258, allocations: 15.64 kB / 465.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.2581, allocations: 5.938 kB / 465.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000702/0.2588, allocations: 281.5 kB / 465.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.2604, allocations: 1.035 MB / 466.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.2611, allocations: 295.3 kB / 467.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.2614, allocations: 166.6 kB / 467.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.2615, allocations: 2.125 kB / 467.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.2619, allocations: 189.3 kB / 467.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.2619, allocations: 0 / 467.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001018/0.2629, allocations: 425.5 kB / 468 MB, free: 14.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.263, allocations: 55.56 kB / 468 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.2632, allocations: 230.8 kB / 468.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.2633, allocations: 31.81 kB / 468.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2634, allocations: 176.5 kB / 468.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.2634, allocations: 74.72 kB / 468.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.2635, allocations: 48.44 kB / 468.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.2636, allocations: 332.2 kB / 468.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.2639, allocations: 124.2 kB / 469 MB, free: 13.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.2643, allocations: 165.7 kB / 469.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.2648, allocations: 311.4 kB / 469.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2648, allocations: 0.8438 kB / 469.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000702/0.2655, allocations: 386.5 kB / 469.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.2656, allocations: 39.36 kB / 469.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2656, allocations: 0 / 469.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2656, allocations: 10.55 kB / 469.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.2659, allocations: 65.66 kB / 470 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2659, allocations: 1.531 kB / 470 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2662, allocations: 44.7 kB / 470 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.2662, allocations: 11.55 kB / 470.1 MB, free: 13.03 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 (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 (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.0001307/0.2663, allocations: 158.1 kB / 470.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.2664, allocations: 26.56 kB / 470.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/0.2671, allocations: 331.3 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2671, allocations: 6.688 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2671, allocations: 0 / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2671, allocations: 6.25 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.2675, allocations: 380 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2675, allocations: 1.375 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.2678, allocations: 57.34 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2678, allocations: 5.312 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.2678, allocations: 6.875 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2678, allocations: 1.375 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2678, allocations: 0 / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.2688, allocations: 0.501 MB / 471.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.2688, allocations: 99.69 kB / 471.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2689, allocations: 6.719 kB / 471.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2691, allocations: 25.12 kB / 471.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.2692, allocations: 21.78 kB / 471.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.2692, allocations: 4.672 kB / 471.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.2693, allocations: 174.2 kB / 471.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2693, allocations: 1.281 kB / 471.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.2696, allocations: 69.62 kB / 471.9 MB, free: 11.95 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,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 (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.283e-05/0.2697, allocations: 104.7 kB / 472 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006929/0.2704, allocations: 349.8 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2705, allocations: 4.062 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.2708, allocations: 145 kB / 472.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2711, allocations: 36.55 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.2722, allocations: 0.6368 MB / 473.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2725, allocations: 0.7745 MB / 473.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.2726, allocations: 33.16 kB / 474 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.2727, allocations: 24.89 kB / 474 MB, free: 10.51 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2727, allocations: 0 / 474 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Templates: time 0.007015/0.2797, allocations: 2.792 MB / 476.8 MB, free: 10.29 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)