Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 252 MB / 267 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 186.5 kB / 326.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 0.5776 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008222/0.0008224, allocations: 90.23 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 12.94 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2412, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001906/0.2432, allocations: 1.238 MB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001946/0.2434, allocations: 39.84 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.2435, allocations: 0 / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2436, allocations: 11.92 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.2437, allocations: 3.938 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.2438, allocations: 15.98 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2439, allocations: 39.84 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2441, allocations: 27.98 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.2441, allocations: 15.92 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.2442, allocations: 23.91 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.2443, allocations: 0 / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.2443, allocations: 7.938 kB / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.2443, allocations: 15.86 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.2444, allocations: 33.7 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.572e-05/0.2444, allocations: 31.94 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2445, allocations: 0 / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2445, allocations: 4 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2445, allocations: 0 / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003585/0.2448, allocations: 351.5 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2449, allocations: 12.03 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.245, allocations: 38.5 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.245, allocations: 15.84 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2452, allocations: 179 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2452, allocations: 4 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2452, allocations: 8 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.2453, allocations: 100.2 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2454, allocations: 4 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2454, allocations: 4 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2454, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.2455, allocations: 35.98 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.246, allocations: 0.6556 MB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/0.2461, allocations: 165.1 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.2461, allocations: 84.12 kB / 0.9034 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2461, allocations: 87.22 kB / 0.9035 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.2462, allocations: 105.8 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.2462, allocations: 0 / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.998e-05/0.2462, allocations: 37.55 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2463, allocations: 130.7 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2464, allocations: 168.4 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.2465, allocations: 25.7 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.2465, allocations: 108 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.2465, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.2465, allocations: 4 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.689e-05/0.2466, allocations: 322.8 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.2466, allocations: 4 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.2466, allocations: 18.58 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.2467, allocations: 12 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2467, allocations: 0 / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001076/0.2468, allocations: 57.53 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2468, allocations: 8 kB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2468, allocations: 0 / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2469, allocations: 0 / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.2469, allocations: 7.938 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2469, allocations: 7.938 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.247, allocations: 8 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.247, allocations: 4 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/0.2471, allocations: 201 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.2471, allocations: 108.9 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.2472, allocations: 120.8 kB / 0.9049 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.2472, allocations: 180.2 kB / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/0.2472, allocations: 184.2 kB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/0.2473, allocations: 180.3 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2474, allocations: 425.1 kB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/0.2475, allocations: 108.9 kB / 0.9059 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.2475, allocations: 105 kB / 0.906 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.481e-05/0.2475, allocations: 184.2 kB / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.2476, allocations: 180.5 kB / 0.9063 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.262e-05/0.2476, allocations: 180.2 kB / 0.9065 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.714e-05/0.2476, allocations: 188.2 kB / 0.9067 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.972e-05/0.2477, allocations: 311.6 kB / 0.907 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.2477, allocations: 197.9 kB / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.2478, allocations: 180.3 kB / 0.9073 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.2479, allocations: 104.9 kB / 0.9074 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.2479, allocations: 180.3 kB / 0.9076 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2479, allocations: 108.9 kB / 0.9077 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.786e-05/0.248, allocations: 126.7 kB / 0.9078 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.248, allocations: 4 kB / 0.9078 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002381/0.2483, allocations: 8 kB / 0.9078 GB, free: 55.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002914/0.2485, allocations: 0.8087 MB / 0.9086 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.913e-05/0.2486, allocations: 12.05 kB / 0.9086 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2486, allocations: 8.062 kB / 0.9087 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/0.2487, allocations: 0 / 0.9087 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2489, allocations: 0.52 MB / 0.9092 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.2497, allocations: 0.6349 MB / 0.9098 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2499, allocations: 0.6965 MB / 0.9105 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.2499, allocations: 4 kB / 0.9105 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.25, allocations: 22.56 kB / 0.9105 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.25, allocations: 0 / 0.9105 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.2617, allocations: 1.476 MB / 0.9119 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.2619, allocations: 206.1 kB / 0.9121 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/1.975, allocations: 7.938 kB / 0.9121 GB, free: 51.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)