Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.776/2.776, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001507/0.001506, allocations: 178 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.000976/0.0009758, allocations: 105.5 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005312/0.0005314, allocations: 17.52 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2288, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001905/0.2308, allocations: 1.309 MB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2325, allocations: 0.8408 MB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.2326, allocations: 0 / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.2326, allocations: 11.92 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.2328, allocations: 23.86 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.2332, allocations: 96.38 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2333, allocations: 67.7 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.2334, allocations: 12 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.379e-05/0.2335, allocations: 23.92 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.2337, allocations: 31.84 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.2337, allocations: 7.938 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.2342, allocations: 271.6 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.2342, allocations: 11.92 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.2343, allocations: 37.64 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.2345, allocations: 96.05 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2345, allocations: 0 / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2345, allocations: 4 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2345, allocations: 0 / 0.9812 GB, free: 25.38 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.0005882/0.2351, allocations: 403.1 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2352, allocations: 12.02 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.2352, allocations: 34.56 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.2354, allocations: 11.86 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.2356, allocations: 192.9 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2356, allocations: 0 / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.2356, allocations: 4 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.2358, allocations: 65.61 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2359, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2359, allocations: 4 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2359, allocations: 7.984 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.2362, allocations: 51.95 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.2367, allocations: 296.7 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.2369, allocations: 66.55 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.237, allocations: 32.91 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2371, allocations: 0 / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2371, allocations: 30.56 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.2371, allocations: 4 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0005261/0.2376, allocations: 125.5 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.2377, allocations: 59.34 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.2378, allocations: 130 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2378, allocations: 29.7 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.2379, allocations: 96.14 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.2379, allocations: 15.73 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.2379, allocations: 0 / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.238, allocations: 318.8 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2381, allocations: 27.92 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.2383, allocations: 31.98 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2384, allocations: 24.36 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2384, allocations: 0 / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003411/0.2388, allocations: 105.6 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2388, allocations: 10.19 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2388, allocations: 0 / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2388, allocations: 4 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.239, allocations: 15.98 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2391, allocations: 3.953 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2392, allocations: 4 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2392, allocations: 7.984 kB / 0.9833 GB, free: 22.98 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.591e-05/0.2393, allocations: 117.8 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.2393, allocations: 7.906 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.2397, allocations: 106 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2397, allocations: 4 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2398, allocations: 0 / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2398, allocations: 3.953 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.24, allocations: 181.5 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.24, allocations: 0 / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.2401, allocations: 23.98 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2402, allocations: 0 / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.2402, allocations: 0 / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2402, allocations: 3.938 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2402, allocations: 0 / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.2406, allocations: 195.5 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.2406, allocations: 85.02 kB / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.2406, allocations: 0 / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2408, allocations: 8.172 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.2408, allocations: 4 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2409, allocations: 11.94 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.113e-05/0.2409, allocations: 103.2 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2409, allocations: 0 / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003308/0.2413, allocations: 27.91 kB / 0.9842 GB, free: 22.02 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.0006215/0.2419, allocations: 0.7436 MB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.2423, allocations: 63.95 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2423, allocations: 0 / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.2424, allocations: 35.92 kB / 0.985 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.2428, allocations: 22.08 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2441, allocations: 0.6147 MB / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.2443, allocations: 0.6926 MB / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.668e-05/0.2444, allocations: 4.188 kB / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.2445, allocations: 29.17 kB / 0.9863 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2445, allocations: 0 / 0.9863 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.2729, allocations: 2.027 MB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000313/0.2733, allocations: 209 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/2.817, allocations: 0 / 0.9885 GB, free: 17.63 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)