Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.428/2.428, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001458/0.001458, allocations: 180.8 kB / 360.6 MB, free: 7.266 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.07/2.07, allocations: 205.2 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 89.73 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.022e-05, allocations: 8 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8997/0.8997, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/2.199, allocations: 361.1 MB / 1.316 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/2.2, allocations: 86.83 kB / 1.316 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05151/2.251, allocations: 13.8 MB / 1.33 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/2.251, allocations: 0 / 1.33 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.207e-05/2.251, allocations: 3.875 kB / 1.33 GB, free: 183.2 MB / 0.8542 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.001122/2.253, allocations: 463.2 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/2.253, allocations: 14.28 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/2.253, allocations: 11.66 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/2.253, allocations: 182.6 kB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/2.253, allocations: 0 / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/2.253, allocations: 11.73 kB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002972/2.253, allocations: 91.31 kB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/2.253, allocations: 82.61 kB / 1.33 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/2.253, allocations: 0 / 1.33 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/2.254, allocations: 0 / 1.33 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/2.254, allocations: 3.969 kB / 1.33 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/2.255, allocations: 449.7 kB / 1.331 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/2.255, allocations: 84.3 kB / 1.331 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/2.255, allocations: 45.7 kB / 1.331 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/2.257, allocations: 0.9834 MB / 1.332 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/2.257, allocations: 30.56 kB / 1.332 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.865e-06/2.257, allocations: 0 / 1.332 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0006699/2.258, allocations: 133.6 kB / 1.332 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/2.258, allocations: 55.41 kB / 1.332 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/2.258, allocations: 145 kB / 1.332 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/2.258, allocations: 25.7 kB / 1.332 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/2.258, allocations: 99.17 kB / 1.332 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/2.258, allocations: 41.61 kB / 1.332 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/2.258, allocations: 0 / 1.332 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/2.258, allocations: 327.1 kB / 1.333 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/2.259, allocations: 43.91 kB / 1.333 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/2.259, allocations: 87.17 kB / 1.333 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/2.26, allocations: 127.5 kB / 1.333 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/2.26, allocations: 2.25 kB / 1.333 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001066/2.261, allocations: 248.7 kB / 1.333 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/2.261, allocations: 6.406 kB / 1.333 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/2.261, allocations: 3.953 kB / 1.333 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/2.261, allocations: 3.219 kB / 1.333 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/2.261, allocations: 59.52 kB / 1.333 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/2.261, allocations: 3.906 kB / 1.333 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/2.262, allocations: 31.36 kB / 1.333 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/2.262, allocations: 7.844 kB / 1.333 GB, free: 180.3 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.332e-05/2.262, allocations: 112.6 kB / 1.333 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004742/2.262, allocations: 131.8 kB / 1.334 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/2.262, allocations: 15.75 kB / 1.334 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/2.263, allocations: 143.7 kB / 1.334 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/2.263, allocations: 3.906 kB / 1.334 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/2.263, allocations: 3.984 kB / 1.334 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/2.263, allocations: 0 / 1.334 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/2.263, allocations: 188.2 kB / 1.334 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/2.263, allocations: 3.906 kB / 1.334 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/2.263, allocations: 38.75 kB / 1.334 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/2.263, allocations: 3.906 kB / 1.334 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/2.263, allocations: 7.953 kB / 1.334 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/2.263, allocations: 1.625 kB / 1.334 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/2.264, allocations: 0 / 1.334 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/2.264, allocations: 227.8 kB / 1.334 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/2.264, allocations: 84.92 kB / 1.334 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/2.264, allocations: 0 / 1.334 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/2.264, allocations: 23.66 kB / 1.334 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/2.264, allocations: 11.39 kB / 1.334 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/2.264, allocations: 5.688 kB / 1.334 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.224e-05/2.265, allocations: 107.5 kB / 1.334 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.443e-06/2.265, allocations: 0 / 1.334 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004663/2.265, allocations: 66.77 kB / 1.334 GB, free: 179.5 MB / 0.8542 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 () * 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 (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.0009304/2.266, allocations: 0.8386 MB / 1.335 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003179/2.266, allocations: 108.8 kB / 1.335 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/2.266, allocations: 3.812 kB / 1.335 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.954e-05/2.266, allocations: 45.98 kB / 1.335 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/2.267, allocations: 26.09 kB / 1.335 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/2.267, allocations: 203 kB / 1.336 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/2.268, allocations: 0.7046 MB / 1.336 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001685/2.268, allocations: 19.73 kB / 1.336 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/2.268, allocations: 34.11 kB / 1.336 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/2.268, allocations: 0 / 1.336 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/2.307, allocations: 3.628 MB / 1.34 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/2.308, allocations: 162.2 kB / 1.34 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/4.785, allocations: 6.156 kB / 1.34 GB, free: 175.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)