Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.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: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006164/0.006164, allocations: 97.97 kB / 15.73 MB, free: 6.062 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.001618/0.001618, allocations: 202.6 kB / 16.68 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.129/0.129, allocations: 4.635 MB / 295.2 MB, free: 3.008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 59.91 kB / 407.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2428, allocations: 50.5 MB / 458.3 MB, free: 20.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.002511/0.2453, allocations: 2.201 MB / 460.5 MB, free: 18.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000329/0.2457, allocations: 171.5 kB / 460.7 MB, free: 18.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.2458, allocations: 3.031 kB / 460.7 MB, free: 18.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2459, allocations: 21.59 kB / 460.7 MB, free: 18.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.046e-05/0.246, allocations: 49.39 kB / 460.7 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.2462, allocations: 50.3 kB / 460.8 MB, free: 18.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.2464, allocations: 212.2 kB / 461 MB, free: 18.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.2467, allocations: 146.4 kB / 461.1 MB, free: 18.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.2467, allocations: 68.12 kB / 461.2 MB, free: 18.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.2469, allocations: 73.95 kB / 461.3 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.2469, allocations: 21.12 kB / 461.3 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-05/0.2469, allocations: 25.06 kB / 461.3 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.247, allocations: 35.45 kB / 461.4 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.2471, allocations: 95.83 kB / 461.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.2473, allocations: 209.8 kB / 461.7 MB, free: 17.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2473, allocations: 3.453 kB / 461.7 MB, free: 17.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2474, allocations: 0 / 461.7 MB, free: 17.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2474, allocations: 0 / 461.7 MB, free: 17.93 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005606/0.2479, allocations: 461.5 kB / 462.1 MB, free: 17.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.248, allocations: 9 kB / 462.1 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.248, allocations: 52.55 kB / 462.2 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.2481, allocations: 17.84 kB / 462.2 MB, free: 17.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2482, allocations: 216.2 kB / 462.4 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.2483, allocations: 11.03 kB / 462.4 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.2483, allocations: 13.56 kB / 462.4 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2486, allocations: 178.1 kB / 462.6 MB, free: 17.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2486, allocations: 11.19 kB / 462.6 MB, free: 17.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2486, allocations: 4 kB / 462.6 MB, free: 17.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2486, allocations: 3.828 kB / 462.6 MB, free: 17.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.2488, allocations: 103.3 kB / 462.7 MB, free: 17.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.2496, allocations: 0.7617 MB / 463.5 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.766e-05/0.2497, allocations: 55 kB / 463.5 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.2498, allocations: 37.83 kB / 463.6 MB, free: 16.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2498, allocations: 0 / 463.6 MB, free: 16.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.2498, allocations: 35.27 kB / 463.6 MB, free: 16.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.2498, allocations: 3.094 kB / 463.6 MB, free: 16.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002256/0.25, allocations: 99.7 kB / 463.7 MB, free: 16.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.2501, allocations: 55.25 kB / 463.8 MB, free: 16.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2502, allocations: 172.5 kB / 463.9 MB, free: 16.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.2502, allocations: 25.7 kB / 464 MB, free: 16.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.2503, allocations: 144.6 kB / 464.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.2503, allocations: 28.78 kB / 464.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.2503, allocations: 28.97 kB / 464.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.2504, allocations: 325.3 kB / 464.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.2505, allocations: 31.2 kB / 464.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.2505, allocations: 80.31 kB / 464.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2506, allocations: 116.1 kB / 464.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2506, allocations: 0 / 464.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001654/0.2508, allocations: 138.1 kB / 464.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2508, allocations: 6.125 kB / 464.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2508, allocations: 3.219 kB / 464.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2509, allocations: 3.031 kB / 464.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.251, allocations: 28.3 kB / 464.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.251, allocations: 3.781 kB / 464.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.2511, allocations: 22.72 kB / 464.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.2511, allocations: 6.469 kB / 464.9 MB, free: 15.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 6.883e-05/0.2512, allocations: 132.3 kB / 465 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.2512, allocations: 13.89 kB / 465 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.2512, allocations: 17.44 kB / 465.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2512, allocations: 0 / 465.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2513, allocations: 3.469 kB / 465.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2513, allocations: 4.188 kB / 465.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.2514, allocations: 236.8 kB / 465.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2515, allocations: 4.75 kB / 465.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.2516, allocations: 18.34 kB / 465.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2516, allocations: 0.75 kB / 465.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2516, allocations: 0 / 465.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2516, allocations: 4 kB / 465.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2516, allocations: 0 / 465.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.2518, allocations: 215.8 kB / 465.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.2518, allocations: 89.58 kB / 465.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.2518, allocations: 3 kB / 465.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.2519, allocations: 0 / 465.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.2519, allocations: 8.062 kB / 465.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.2519, allocations: 4 kB / 465.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.991e-05/0.252, allocations: 125.5 kB / 465.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.252, allocations: 0 / 465.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.2523, allocations: 36.86 kB / 465.8 MB, free: 14.44 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002894/0.2526, allocations: 0.7353 MB / 466.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.2527, allocations: 71.27 kB / 466.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2527, allocations: 1.125 kB / 466.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.2528, allocations: 23.2 kB / 466.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.2531, allocations: 30 kB / 466.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.2547, allocations: 1.852 MB / 468.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.2549, allocations: 0.7193 MB / 469.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.665e-05/0.2549, allocations: 11.56 kB / 469.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.255, allocations: 40.05 kB / 469.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.255, allocations: 4 kB / 469.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.2799, allocations: 2.791 MB / 472.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.074, allocations: 4.812 kB / 472.1 MB, free: 10.88 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Design_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1)