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.001091/0.001091, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001288/0.001288, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.667/1.667, allocations: 292.6 MB / 0.5497 GB, free: 14.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.0005581/0.0005584, allocations: 18.97 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2545, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004829/0.2594, allocations: 3.892 MB / 0.791 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.2603, allocations: 0.7102 MB / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.2604, allocations: 0 / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.2606, allocations: 23.88 kB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.2606, allocations: 35.92 kB / 0.7918 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.261, allocations: 135.6 kB / 0.7919 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.2612, allocations: 103.8 kB / 0.792 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2613, allocations: 17.11 kB / 0.792 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.2615, allocations: 79.73 kB / 0.7921 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.2616, allocations: 63.75 kB / 0.7922 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.2616, allocations: 8 kB / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.2619, allocations: 123.8 kB / 0.7923 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.2619, allocations: 23.91 kB / 0.7923 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.262, allocations: 45.64 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.2622, allocations: 163.9 kB / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2623, allocations: 0 / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2623, allocations: 7.938 kB / 0.7925 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2623, allocations: 0 / 0.7925 GB, free: 6.395 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.0009644/0.2632, allocations: 466.7 kB / 0.793 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.2633, allocations: 12.03 kB / 0.793 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.2634, allocations: 38.5 kB / 0.793 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.2635, allocations: 23.77 kB / 0.793 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.2636, allocations: 178.9 kB / 0.7932 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.2636, allocations: 4 kB / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.2637, allocations: 12 kB / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.264, allocations: 125.6 kB / 0.7934 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2641, allocations: 0 / 0.7934 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.2641, allocations: 8 kB / 0.7934 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2641, allocations: 3.984 kB / 0.7934 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.2646, allocations: 167.8 kB / 0.7935 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.2656, allocations: 472.4 kB / 0.794 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.2659, allocations: 142.4 kB / 0.7941 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.2673, allocations: 0.9609 MB / 0.795 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2673, allocations: 38.5 kB / 0.7951 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.2673, allocations: 4 kB / 0.7951 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.000687/0.268, allocations: 229.5 kB / 0.7953 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.2681, allocations: 51.41 kB / 0.7954 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.2682, allocations: 175.2 kB / 0.7955 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2683, allocations: 29.7 kB / 0.7956 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.2684, allocations: 112.3 kB / 0.7957 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.2684, allocations: 39.44 kB / 0.7957 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.2684, allocations: 8 kB / 0.7957 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2686, allocations: 322.8 kB / 0.796 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.2688, allocations: 79.95 kB / 0.7961 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.269, allocations: 122.9 kB / 0.7962 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.2693, allocations: 91.97 kB / 0.7963 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2693, allocations: 7.891 kB / 0.7963 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005607/0.2699, allocations: 267.6 kB / 0.7966 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2699, allocations: 4 kB / 0.7966 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2699, allocations: 4 kB / 0.7966 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2699, allocations: 8.031 kB / 0.7966 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.2702, allocations: 59.95 kB / 0.7966 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2702, allocations: 0 / 0.7966 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.2704, allocations: 35.77 kB / 0.7967 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.2704, allocations: 12 kB / 0.7967 GB, free: 1.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.2706, allocations: 125.8 kB / 0.7968 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.2706, allocations: 15.77 kB / 0.7968 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.2711, allocations: 203.2 kB / 0.797 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2711, allocations: 4 kB / 0.797 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2711, allocations: 0 / 0.797 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2712, allocations: 0 / 0.797 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.2714, allocations: 217.4 kB / 0.7972 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2714, allocations: 7.938 kB / 0.7972 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.2715, allocations: 43.94 kB / 0.7973 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2716, allocations: 0 / 0.7973 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2716, allocations: 0 / 0.7973 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.2716, allocations: 7.984 kB / 0.7973 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2716, allocations: 0 / 0.7973 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.272, allocations: 271.3 kB / 0.7975 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.2721, allocations: 96.91 kB / 0.7976 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2722, allocations: 11.95 kB / 0.7976 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2723, allocations: 15.98 kB / 0.7976 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.2724, allocations: 11.98 kB / 0.7977 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.2724, allocations: 4 kB / 0.7977 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.865e-05/0.2725, allocations: 112 kB / 0.7978 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2725, allocations: 0 / 0.7978 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003465/0.2728, allocations: 64.05 kB / 0.7978 GB, free: 0.4922 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 (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.0009437/0.2738, allocations: 0.8645 MB / 0.7987 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004949/0.2743, allocations: 195.8 kB / 0.7989 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2743, allocations: 0 / 0.7989 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2745, allocations: 79.88 kB / 0.7989 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2748, allocations: 26.39 kB / 0.799 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2759, allocations: 1.057 MB / 0.8 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.2761, allocations: 0.7083 MB / 0.8007 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.2763, allocations: 29.48 kB / 0.8007 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.2763, allocations: 39.42 kB / 0.8008 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2764, allocations: 0 / 0.8008 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.2928, allocations: 3.949 MB / 0.8046 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.2931, allocations: 203.8 kB / 0.8048 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.382, allocations: 3.938 kB / 0.8048 GB, free: 9.398 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/linux/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) Environment - environmentSimulation: