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.001088/0.001088, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001158/0.001158, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02227/0.02227, allocations: 4.659 MB / 295.8 MB, free: 10.26 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 60.14 kB / 358 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2124, allocations: 50.51 MB / 408.5 MB, free: 30.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003222/0.2157, allocations: 3.197 MB / 411.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000889/0.2166, allocations: 0.7822 MB / 412.5 MB, free: 26.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2167, allocations: 7.938 kB / 412.5 MB, free: 26.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2168, allocations: 55.44 kB / 412.5 MB, free: 26.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.217, allocations: 122.9 kB / 412.6 MB, free: 26.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.2173, allocations: 127.8 kB / 412.8 MB, free: 26.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.2177, allocations: 0.5102 MB / 413.3 MB, free: 25.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.218, allocations: 278.5 kB / 413.6 MB, free: 25.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.2182, allocations: 191.4 kB / 413.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.2184, allocations: 199.2 kB / 413.9 MB, free: 25.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.2184, allocations: 56 kB / 414 MB, free: 25.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.2185, allocations: 59.94 kB / 414 MB, free: 25.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.2186, allocations: 107.7 kB / 414.2 MB, free: 25.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.2188, allocations: 223.1 kB / 414.4 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.2191, allocations: 0.5469 MB / 414.9 MB, free: 24.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2191, allocations: 0 / 414.9 MB, free: 24.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2191, allocations: 0 / 414.9 MB, free: 24.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2191, allocations: 0 / 414.9 MB, free: 24.31 MB / 302.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.001125/0.2202, allocations: 0.7349 MB / 415.7 MB, free: 23.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2203, allocations: 15.97 kB / 415.7 MB, free: 23.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.2204, allocations: 44.45 kB / 415.7 MB, free: 23.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.2207, allocations: 310.6 kB / 416 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/0.2208, allocations: 58.92 kB / 416.1 MB, free: 23.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.2208, allocations: 28.38 kB / 416.1 MB, free: 23.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.2215, allocations: 397.1 kB / 416.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2215, allocations: 0 / 416.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.2215, allocations: 15.94 kB / 416.5 MB, free: 22.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2215, allocations: 8 kB / 416.5 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006881/0.2222, allocations: 326.4 kB / 416.8 MB, free: 22.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.2239, allocations: 1.507 MB / 418.3 MB, free: 20.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.2247, allocations: 377.3 kB / 418.7 MB, free: 20.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.2251, allocations: 201.6 kB / 418.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.2251, allocations: 3.984 kB / 418.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.2256, allocations: 242.4 kB / 419.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.2256, allocations: 0 / 419.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001113/0.2267, allocations: 0.4892 MB / 419.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.2267, allocations: 81.11 kB / 419.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.227, allocations: 286.9 kB / 420 MB, free: 18.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.227, allocations: 33.7 kB / 420 MB, free: 18.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.2271, allocations: 200.2 kB / 420.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.2272, allocations: 86.73 kB / 420.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.682e-05/0.2273, allocations: 65.5 kB / 420.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.2273, allocations: 338.8 kB / 420.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.2277, allocations: 151.8 kB / 420.8 MB, free: 18.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.228, allocations: 212.9 kB / 421.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.2287, allocations: 367.4 kB / 421.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2287, allocations: 0 / 421.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008217/0.2295, allocations: 450.8 kB / 421.9 MB, free: 16.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.2296, allocations: 35.89 kB / 421.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2296, allocations: 0 / 421.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2296, allocations: 4 kB / 421.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/0.2305, allocations: 215.8 kB / 422.1 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.2318, allocations: 1.671 MB / 423.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.232, allocations: 47.73 kB / 423.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.2321, allocations: 12 kB / 423.8 MB, free: 14.88 MB / 302.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.000156/0.2322, allocations: 177.8 kB / 424 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.2323, allocations: 27.72 kB / 424 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007672/0.2331, allocations: 367.5 kB / 424.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2331, allocations: 11.94 kB / 424.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.2331, allocations: 0 / 424.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2331, allocations: 0 / 424.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.2334, allocations: 457.1 kB / 424.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2335, allocations: 0 / 424.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009322/0.2344, allocations: 207.7 kB / 425.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.2344, allocations: 4 kB / 425.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.2344, allocations: 4 kB / 425.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.2356, allocations: 1.675 MB / 426.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2356, allocations: 3.984 kB / 426.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.2367, allocations: 0.573 MB / 427.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.2368, allocations: 108.7 kB / 427.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.2368, allocations: 12.03 kB / 427.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.237, allocations: 27.97 kB / 427.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/0.2371, allocations: 27.97 kB / 427.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.2372, allocations: 4 kB / 427.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.2373, allocations: 209.9 kB / 427.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2373, allocations: 3.938 kB / 427.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003805/0.2377, allocations: 87.78 kB / 427.8 MB, free: 10.68 MB / 302.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 (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 9.904e-05/0.2378, allocations: 107.2 kB / 427.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.2392, allocations: 0.5342 MB / 428.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2392, allocations: 0 / 428.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008726/0.24, allocations: 303.8 kB / 428.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2404, allocations: 56.81 kB / 428.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.2419, allocations: 0.8545 MB / 429.6 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.2421, allocations: 0.7909 MB / 430.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.2423, allocations: 42.2 kB / 430.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.2423, allocations: 27.44 kB / 430.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2423, allocations: 0 / 430.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of Templates: time 0.006056/0.2484, allocations: 3.553 MB / 434 MB, free: 4.375 MB / 302.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 -s cvode -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)