Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.65/1.65, allocations: 288.4 MB / 303.6 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 201.5 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 0.631 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 98.33 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005184, allocations: 14 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2433, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002059/0.2454, allocations: 1.305 MB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2468, allocations: 0.8523 MB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.709e-05/0.2469, allocations: 0 / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.247, allocations: 0 / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.2472, allocations: 23.78 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.2476, allocations: 107.8 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.2478, allocations: 59.67 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2479, allocations: 19.92 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.248, allocations: 23.92 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2482, allocations: 39.77 kB / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.2482, allocations: 4 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.2486, allocations: 275.7 kB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.2486, allocations: 11.92 kB / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.2487, allocations: 49.58 kB / 0.9829 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.2489, allocations: 96.03 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2489, allocations: 0 / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2489, allocations: 0 / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2489, allocations: 0 / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00056/0.2495, allocations: 399.3 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2496, allocations: 8.031 kB / 0.9834 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.2496, allocations: 38.75 kB / 0.9834 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.2497, allocations: 12.83 kB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2499, allocations: 192.1 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2499, allocations: 384 / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2499, allocations: 7.938 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2501, allocations: 69.66 kB / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2502, allocations: 0 / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2502, allocations: 0 / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2502, allocations: 0 / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.2503, allocations: 51.95 kB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.2508, allocations: 300.8 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.251, allocations: 58.5 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.251, allocations: 36.97 kB / 0.9841 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2511, allocations: 0 / 0.9841 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2511, allocations: 34.56 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.2511, allocations: 3.938 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003728/0.2515, allocations: 125.5 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.2515, allocations: 55.41 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.2516, allocations: 131.4 kB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.2516, allocations: 25.7 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.2517, allocations: 92.05 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.2517, allocations: 23.73 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.2517, allocations: 0 / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.2518, allocations: 326.8 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.2519, allocations: 27.97 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.252, allocations: 23.98 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2521, allocations: 64.83 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2522, allocations: 0 / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002145/0.2524, allocations: 97.52 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2524, allocations: 8 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2524, allocations: 0 / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2524, allocations: 3.938 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2526, allocations: 19.98 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2526, allocations: 0 / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/0.2527, allocations: 11.92 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2527, allocations: 4 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.095e-05/0.2527, allocations: 117.8 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.2528, allocations: 3.906 kB / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.2531, allocations: 121.9 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2531, allocations: 0 / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2531, allocations: 0 / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.2531, allocations: 3.938 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.2533, allocations: 185.7 kB / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.2533, allocations: 0.5 kB / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.2534, allocations: 19.98 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2534, allocations: 0 / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2534, allocations: 0 / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2534, allocations: 4 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2534, allocations: 0 / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.2536, allocations: 203.3 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.2537, allocations: 89 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2537, allocations: 3.938 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.2538, allocations: 15.98 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.2538, allocations: 0 / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2539, allocations: 11.92 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.2539, allocations: 96.36 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2539, allocations: 0 / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00024/0.2542, allocations: 28 kB / 0.986 GB, free: 20.93 MB / 0.6198 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 (6): * Single equations (assignments): 6 * 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.0005128/0.2547, allocations: 0.7319 MB / 0.9867 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2549, allocations: 67.89 kB / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2549, allocations: 0 / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.255, allocations: 35.98 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2554, allocations: 21.55 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.2564, allocations: 0.6083 MB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.2565, allocations: 0.6965 MB / 0.9881 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.927e-05/0.2566, allocations: 7.938 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.2567, allocations: 23.42 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2567, allocations: 3.938 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1151/0.3718, allocations: 2.02 MB / 0.9901 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/0.3722, allocations: 215.6 kB / 0.9903 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.285, allocations: 0 / 0.9903 GB, free: 16.56 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)