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.0014/0.0014, allocations: 121 kB / 16.42 MB, free: 6.473 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.001608/0.001608, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02205/0.02205, allocations: 4.646 MB / 295.9 MB, free: 10.26 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.88 kB / 409 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07174/0.07298, allocations: 50.51 MB / 459.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003899/0.07691, allocations: 3.192 MB / 462.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.07802, allocations: 0.7834 MB / 463.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.07815, allocations: 11.94 kB / 463.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.07832, allocations: 59.38 kB / 463.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.07853, allocations: 122.9 kB / 463.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.07885, allocations: 131.8 kB / 463.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.07931, allocations: 0.5103 MB / 464.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.0797, allocations: 270.5 kB / 464.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.07993, allocations: 191.4 kB / 464.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.08016, allocations: 199.2 kB / 464.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.08024, allocations: 59.98 kB / 465 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.08032, allocations: 60 kB / 465.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.116e-05/0.08042, allocations: 103.7 kB / 465.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.08062, allocations: 223.1 kB / 465.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.08108, allocations: 0.5491 MB / 465.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.08109, allocations: 0 / 465.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.0811, allocations: 0 / 465.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.08112, allocations: 0 / 465.9 MB, free: 2.172 MB / 334.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.001283/0.0824, allocations: 0.7234 MB / 466.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.08245, allocations: 8.031 kB / 466.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.601e-05/0.08254, allocations: 40.47 kB / 466.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.08289, allocations: 326.5 kB / 467 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.083, allocations: 58.91 kB / 467.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.08307, allocations: 32.38 kB / 467.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007439/0.08382, allocations: 401.1 kB / 467.5 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.08384, allocations: 3.938 kB / 467.5 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.08388, allocations: 8 kB / 467.5 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.0839, allocations: 12 kB / 467.5 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/0.08471, allocations: 326.3 kB / 467.8 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.08684, allocations: 1.503 MB / 469.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.08784, allocations: 375.6 kB / 469.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.0883, allocations: 205.5 kB / 469.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.08834, allocations: 4 kB / 469.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/0.08886, allocations: 240.9 kB / 470.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.08888, allocations: 0 / 470.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001285/0.09017, allocations: 0.4891 MB / 470.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.09022, allocations: 81.11 kB / 470.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.0905, allocations: 283 kB / 471 MB, free: 12.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.09055, allocations: 29.7 kB / 471 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.09068, allocations: 200.2 kB / 471.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.641e-05/0.09076, allocations: 86.88 kB / 471.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.09088, allocations: 61.69 kB / 471.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.091, allocations: 342.7 kB / 471.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.09141, allocations: 151.9 kB / 471.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.09184, allocations: 204.8 kB / 472 MB, free: 11.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.09263, allocations: 371.4 kB / 472.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.09264, allocations: 0 / 472.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009708/0.09362, allocations: 454.7 kB / 472.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.09366, allocations: 37.69 kB / 472.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.09368, allocations: 0 / 472.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.0937, allocations: 4 kB / 472.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.09471, allocations: 211.8 kB / 473.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.09627, allocations: 1.683 MB / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.09656, allocations: 43.84 kB / 474.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.0966, allocations: 19.92 kB / 474.8 MB, free: 8.73 MB / 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 (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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.09678, allocations: 175.7 kB / 475 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.09683, allocations: 35.62 kB / 475 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.0977, allocations: 372.4 kB / 475.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.09772, allocations: 0 / 475.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.09773, allocations: 4 kB / 475.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.09781, allocations: 112.7 kB / 475.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.09786, allocations: 4 kB / 475.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.0981, allocations: 31.91 kB / 475.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.09819, allocations: 23.97 kB / 475.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001846/0.1, allocations: 0.6998 MB / 476.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001292/0.1014, allocations: 0.7943 MB / 477.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003923/0.1018, allocations: 183.9 kB / 477.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1019, allocations: 213.8 kB / 477.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of Backend: time 4.3e-07/0.102, allocations: 0 / 477.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.1035, allocations: 465.5 kB / 477.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of SimCode: time 0.001233/0.1047, allocations: 1.169 MB / 479.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of Templates: time 0.007355/0.1121, allocations: 4.378 MB / 483.5 MB, free: 15.99 MB / 366.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile (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)