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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009983/0.0009983, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9865/0.9865, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01408/0.01408, allocations: 3.579 MB / 264.6 MB, free: 9.453 MB / 250.7 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 335.4 MB, free: 12 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.138e-05, allocations: 2.312 kB / 335.4 MB, free: 8 kB / 298.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.002881/0.002893, allocations: 3.206 MB / 338.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.003909, allocations: 0.8417 MB / 339.5 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.004044, allocations: 11.94 kB / 339.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.004173, allocations: 55.44 kB / 339.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.004331, allocations: 134.8 kB / 339.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.004638, allocations: 155.7 kB / 339.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.005009, allocations: 0.5295 MB / 340.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.005234, allocations: 175.4 kB / 340.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.005514, allocations: 311.3 kB / 340.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.005685, allocations: 159.6 kB / 341 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.005734, allocations: 56 kB / 341.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.005803, allocations: 60 kB / 341.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.005866, allocations: 107.7 kB / 341.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.005977, allocations: 159.7 kB / 341.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.006294, allocations: 334.9 kB / 341.7 MB, free: 9.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.006296, allocations: 0 / 341.7 MB, free: 9.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006296, allocations: 3.938 kB / 341.7 MB, free: 9.719 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.0063, allocations: 0 / 341.7 MB, free: 9.719 MB / 314.7 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.007559, allocations: 0.7709 MB / 342.5 MB, free: 8.902 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.007588, allocations: 8.031 kB / 342.5 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.007759, allocations: 84.64 kB / 342.6 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.007992, allocations: 259.4 kB / 342.8 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.008066, allocations: 114.3 kB / 342.9 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.008103, allocations: 32.33 kB / 343 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.008401, allocations: 263.9 kB / 343.2 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.008409, allocations: 192 / 343.2 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.00843, allocations: 16.12 kB / 343.2 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.008576, allocations: 8 kB / 343.2 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.00871, allocations: 92.44 kB / 343.3 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.009763, allocations: 1.133 MB / 344.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.01005, allocations: 186.2 kB / 344.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.01013, allocations: 75.33 kB / 344.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.01015, allocations: 4 kB / 344.7 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.01032, allocations: 148.9 kB / 344.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.162e-06/0.01032, allocations: 0 / 344.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005932/0.01091, allocations: 201.3 kB / 345.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.01095, allocations: 89.11 kB / 345.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.01111, allocations: 304.1 kB / 345.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.01113, allocations: 37.62 kB / 345.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01123, allocations: 247.2 kB / 345.7 MB, free: 5.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.01129, allocations: 99.19 kB / 345.8 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.01136, allocations: 55.94 kB / 345.9 MB, free: 5.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.01149, allocations: 0.5234 MB / 346.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.01157, allocations: 61.53 kB / 346.5 MB, free: 4.656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.01166, allocations: 124.4 kB / 346.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.01181, allocations: 175.7 kB / 346.8 MB, free: 4.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01181, allocations: 4 kB / 346.8 MB, free: 4.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002542/0.01207, allocations: 264.7 kB / 347 MB, free: 4.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01209, allocations: 33.7 kB / 347.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.0121, allocations: 0 / 347.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.0121, allocations: 4 kB / 347.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.01244, allocations: 152 kB / 347.2 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.01367, allocations: 2.055 MB / 349.3 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.01378, allocations: 27.88 kB / 349.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.0138, allocations: 15.98 kB / 349.3 MB, free: 1.621 MB / 314.7 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.0001111/0.01391, allocations: 176.5 kB / 349.5 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.01395, allocations: 35.81 kB / 349.5 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.01416, allocations: 183.7 kB / 349.7 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01417, allocations: 8 kB / 349.7 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01417, allocations: 0 / 349.7 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01417, allocations: 4.031 kB / 349.7 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.01437, allocations: 249 kB / 349.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01437, allocations: 4 kB / 349.9 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.0147, allocations: 135.8 kB / 350.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.0147, allocations: 4 kB / 350.1 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.01472, allocations: 4 kB / 350.1 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007138/0.01543, allocations: 2.055 MB / 352.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01543, allocations: 0 / 352.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.01572, allocations: 268.7 kB / 352.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.01574, allocations: 27.84 kB / 352.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.01577, allocations: 12.06 kB / 352.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.01585, allocations: 19.98 kB / 352.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.0159, allocations: 23.95 kB / 352.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.01592, allocations: 8 kB / 352.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.767e-05/0.016, allocations: 205.1 kB / 352.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.016, allocations: 0 / 352.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.01625, allocations: 91.78 kB / 352.8 MB, free: 13.96 MB / 330.7 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 (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 Backend phase and start with SimCode phase: time 7.697e-05/0.01633, allocations: 107.2 kB / 352.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004062/0.01673, allocations: 289.8 kB / 353.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01673, allocations: 3.938 kB / 353.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.01697, allocations: 143.9 kB / 353.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.01718, allocations: 56.39 kB / 353.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.01821, allocations: 0.7128 MB / 354.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.415e-05/0.01827, allocations: 108.2 kB / 354.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.117e-05/0.01835, allocations: 21.94 kB / 354.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.01848, allocations: 118.2 kB / 354.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01848, allocations: 0 / 354.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of Templates: time 0.005657/0.02414, allocations: 3.965 MB / 358.3 MB, free: 8.422 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile [Timeout 660] (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=240 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0310640861280262]