Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001576/0.001576, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2027/0.2027, allocations: 4.632 MB / 295.7 MB, free: 4.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 8 kB / 357.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 51.5 MB / 409.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003493/0.13, allocations: 2.828 MB / 412 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1313, allocations: 0.737 MB / 412.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.1315, allocations: 7.938 kB / 412.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1316, allocations: 39.69 kB / 412.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.1318, allocations: 103.2 kB / 412.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1322, allocations: 87.84 kB / 413 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004725/0.1326, allocations: 462.5 kB / 413.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.133, allocations: 209.9 kB / 413.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1332, allocations: 135.5 kB / 413.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1334, allocations: 151.2 kB / 413.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.1335, allocations: 20 kB / 414 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.1335, allocations: 16 kB / 414 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.1336, allocations: 63.75 kB / 414 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.1337, allocations: 97.52 kB / 414.1 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.1341, allocations: 427.2 kB / 414.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1341, allocations: 0 / 414.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1341, allocations: 0 / 414.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1341, allocations: 0 / 414.5 MB, free: 9.582 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00126/0.1354, allocations: 0.6843 MB / 415.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1354, allocations: 8.031 kB / 415.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.1355, allocations: 43.53 kB / 415.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.1359, allocations: 309.3 kB / 415.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.136, allocations: 58.34 kB / 415.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.1361, allocations: 36 kB / 415.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.1369, allocations: 412.9 kB / 416.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.137, allocations: 0 / 416.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.137, allocations: 8 kB / 416.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.137, allocations: 8 kB / 416.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.1378, allocations: 354.4 kB / 416.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.1399, allocations: 1.526 MB / 418 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.1409, allocations: 417.3 kB / 418.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.1413, allocations: 220.9 kB / 418.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.1414, allocations: 3.984 kB / 418.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005353/0.1419, allocations: 260.9 kB / 418.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.1419, allocations: 0 / 418.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001282/0.1432, allocations: 0.5438 MB / 419.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.1433, allocations: 85.11 kB / 419.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.1436, allocations: 275 kB / 419.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.1436, allocations: 29.7 kB / 419.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1438, allocations: 196.2 kB / 420 MB, free: 3.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.058e-05/0.1439, allocations: 94.67 kB / 420.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.1439, allocations: 8.031 kB / 420.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1441, allocations: 342.8 kB / 420.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.1445, allocations: 163.9 kB / 420.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.1449, allocations: 220.9 kB / 420.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.1453, allocations: 202.2 kB / 421 MB, free: 2.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1453, allocations: 0 / 421 MB, free: 2.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009377/0.1462, allocations: 486.8 kB / 421.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.1463, allocations: 39.88 kB / 421.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1463, allocations: 0 / 421.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1463, allocations: 4 kB / 421.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009802/0.1473, allocations: 287.7 kB / 421.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.149, allocations: 1.567 MB / 423.3 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.1493, allocations: 71.7 kB / 423.4 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.1493, allocations: 12 kB / 423.4 MB, free: 220 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.1495, allocations: 173.8 kB / 423.6 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1496, allocations: 31.58 kB / 423.6 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2291/0.3787, allocations: 398.1 kB / 424 MB, free: 45.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3787, allocations: 4.938 kB / 424 MB, free: 45.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3787, allocations: 1.844 kB / 424 MB, free: 45.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3788, allocations: 0.75 kB / 424 MB, free: 45.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.3794, allocations: 448.1 kB / 424.5 MB, free: 45.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3794, allocations: 0 / 424.5 MB, free: 45.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.3806, allocations: 268 kB / 424.7 MB, free: 45.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.3806, allocations: 2.5 kB / 424.7 MB, free: 45.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.3806, allocations: 14.05 kB / 424.7 MB, free: 45.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.3819, allocations: 1.573 MB / 426.3 MB, free: 44.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3819, allocations: 0 / 426.3 MB, free: 44.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.383, allocations: 0.6296 MB / 426.9 MB, free: 44.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.14e-05/0.3831, allocations: 106.6 kB / 427 MB, free: 43.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.3832, allocations: 12.2 kB / 427 MB, free: 43.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.3834, allocations: 42.17 kB / 427.1 MB, free: 43.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.3835, allocations: 28.86 kB / 427.1 MB, free: 43.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.3835, allocations: 11.97 kB / 427.1 MB, free: 43.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.3838, allocations: 204.1 kB / 427.3 MB, free: 43.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3838, allocations: 0 / 427.3 MB, free: 43.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.3843, allocations: 84.59 kB / 427.4 MB, free: 43.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.3845, allocations: 111 kB / 427.5 MB, free: 43.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.386, allocations: 0.6096 MB / 428.1 MB, free: 43.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.386, allocations: 0 / 428.1 MB, free: 43.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009566/0.387, allocations: 373.6 kB / 428.5 MB, free: 43.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3874, allocations: 50.3 kB / 428.5 MB, free: 43.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.3894, allocations: 1.052 MB / 429.6 MB, free: 43.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.3896, allocations: 0.7962 MB / 430.4 MB, free: 42.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.3898, allocations: 27.97 kB / 430.4 MB, free: 42.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.3899, allocations: 29.62 kB / 430.4 MB, free: 42.53 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3899, allocations: 0.8438 kB / 430.4 MB, free: 42.53 MB / 350.1 MB Notification: Performance of Templates: time 0.006383/0.3963, allocations: 3.132 MB / 433.6 MB, free: 42.36 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile Environment - environmentSimulation: (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Controlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) Environment - environmentSimulation: