Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001325/0.001325, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001608/0.001608, allocations: 193.7 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 64.69 kB / 0.6711 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2221, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006436/0.2286, allocations: 4.625 MB / 0.7875 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2296, allocations: 0.807 MB / 0.7883 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.2297, allocations: 0 / 0.7883 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.2299, allocations: 35.83 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.23, allocations: 27.77 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.2305, allocations: 147.6 kB / 0.7885 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.2307, allocations: 175.4 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.2308, allocations: 17.12 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.231, allocations: 83.69 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2311, allocations: 75.73 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.2312, allocations: 12 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.2315, allocations: 159.7 kB / 0.789 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.2315, allocations: 31.91 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.2316, allocations: 79.58 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.2319, allocations: 235.6 kB / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2319, allocations: 0 / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.232, allocations: 0 / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.232, allocations: 0 / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008103/0.2328, allocations: 490.8 kB / 0.7898 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2328, allocations: 8.031 kB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.2329, allocations: 34.75 kB / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.2329, allocations: 16.75 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.233, allocations: 183.3 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2331, allocations: 12.12 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.2331, allocations: 12 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.2334, allocations: 109.6 kB / 0.7901 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2334, allocations: 11.92 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2334, allocations: 8 kB / 0.7902 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2334, allocations: 0 / 0.7902 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.2338, allocations: 135.9 kB / 0.7903 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009114/0.2348, allocations: 472.4 kB / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.235, allocations: 126.4 kB / 0.7909 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.2352, allocations: 80.73 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.2365, allocations: 0.9607 MB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2366, allocations: 38.5 kB / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.2366, allocations: 0 / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006124/0.2372, allocations: 209.4 kB / 0.7921 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.2372, allocations: 51.41 kB / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2374, allocations: 171.2 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.2374, allocations: 29.7 kB / 0.7923 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.2375, allocations: 112.3 kB / 0.7925 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.2375, allocations: 39.44 kB / 0.7925 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.2376, allocations: 49.7 kB / 0.7925 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2377, allocations: 326.8 kB / 0.7929 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.2379, allocations: 71.94 kB / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.2382, allocations: 114.2 kB / 0.793 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.2386, allocations: 171.1 kB / 0.7932 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2386, allocations: 4 kB / 0.7932 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000528/0.2391, allocations: 239.7 kB / 0.7934 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2391, allocations: 4 kB / 0.7934 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2391, allocations: 4 kB / 0.7934 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2392, allocations: 3.984 kB / 0.7934 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.2394, allocations: 60 kB / 0.7935 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2395, allocations: 4 kB / 0.7935 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.2396, allocations: 31.77 kB / 0.7935 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.2397, allocations: 11.92 kB / 0.7935 GB, free: 2.531 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.101e-05/0.2398, allocations: 125.8 kB / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.2398, allocations: 15.75 kB / 0.7937 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.2403, allocations: 174.9 kB / 0.7938 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2403, allocations: 4 kB / 0.7938 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2403, allocations: 0 / 0.7938 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2403, allocations: 0 / 0.7938 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.2405, allocations: 217.5 kB / 0.7941 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2405, allocations: 4 kB / 0.7941 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.2407, allocations: 39.84 kB / 0.7941 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2407, allocations: 4 kB / 0.7941 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2407, allocations: 0 / 0.7941 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2407, allocations: 0 / 0.7941 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2407, allocations: 0 / 0.7941 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.2412, allocations: 255.3 kB / 0.7943 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.2412, allocations: 108.8 kB / 0.7944 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.2413, allocations: 0 / 0.7944 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2414, allocations: 15.98 kB / 0.7945 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.2414, allocations: 7.984 kB / 0.7945 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.2415, allocations: 7.938 kB / 0.7945 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.758e-05/0.2416, allocations: 116 kB / 0.7946 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2416, allocations: 0 / 0.7946 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003185/0.2419, allocations: 64.31 kB / 0.7946 GB, free: 1.293 MB / 0.6075 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 (12): * Single equations (assignments): 12 * 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.0008548/0.2428, allocations: 0.8456 MB / 0.7955 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004788/0.2432, allocations: 179.7 kB / 0.7956 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2433, allocations: 0 / 0.7956 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.2434, allocations: 76.02 kB / 0.7957 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.2438, allocations: 31.91 kB / 0.7957 GB, free: 140 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.2462, allocations: 1.97 MB / 0.7977 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2465, allocations: 0.7084 MB / 0.7984 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.2466, allocations: 17.06 kB / 0.7984 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.2467, allocations: 42.8 kB / 0.7984 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2467, allocations: 0 / 0.7984 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.277/2.523, allocations: 4.048 MB / 0.8024 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/2.524, allocations: 235.6 kB / 0.8026 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/4.326, allocations: 0 / 0.8026 GB, free: 9.164 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)