Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_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.00152/0.00152, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.002343/0.002343, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.672/2.672, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.86/1.86, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007819/0.0007821, allocations: 12.92 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3221, allocations: 82.32 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.009252/0.3314, allocations: 3.848 MB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3334, allocations: 0.7025 MB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.3336, allocations: 0 / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3338, allocations: 31.81 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.334, allocations: 35.86 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.3349, allocations: 131.7 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.3352, allocations: 107.8 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.3354, allocations: 24.98 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.3358, allocations: 71.73 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.336, allocations: 67.75 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.3361, allocations: 12 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006472/0.3368, allocations: 115.9 kB / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.3368, allocations: 27.91 kB / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.337, allocations: 45.64 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.3375, allocations: 159.8 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3375, allocations: 0 / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.759e-06/0.3375, allocations: 0 / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.3375, allocations: 0 / 0.5925 GB, free: 13.62 MB / 0.4981 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.001486/0.339, allocations: 478.7 kB / 0.593 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.996e-05/0.3391, allocations: 8.031 kB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.969e-05/0.3392, allocations: 42.56 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.3393, allocations: 11.86 kB / 0.593 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.3396, allocations: 182.8 kB / 0.5932 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.3397, allocations: 11.98 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.3397, allocations: 12 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.3403, allocations: 125.6 kB / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3404, allocations: 0 / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3404, allocations: 0 / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3404, allocations: 4 kB / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.3412, allocations: 167.8 kB / 0.5935 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.3429, allocations: 476.4 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.3435, allocations: 137.6 kB / 0.5941 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002529/0.3461, allocations: 0.9645 MB / 0.5951 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.3462, allocations: 34.56 kB / 0.5951 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 4.017e-06/0.3462, allocations: 3.938 kB / 0.5951 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.00133/0.3475, allocations: 241.4 kB / 0.5953 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.3476, allocations: 51.41 kB / 0.5954 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.3479, allocations: 170.5 kB / 0.5955 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.348, allocations: 25.7 kB / 0.5956 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3481, allocations: 108.4 kB / 0.5957 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.3482, allocations: 43.44 kB / 0.5957 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.3482, allocations: 4 kB / 0.5957 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3484, allocations: 322.8 kB / 0.596 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.3488, allocations: 83.95 kB / 0.5961 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.3493, allocations: 119.4 kB / 0.5962 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.3498, allocations: 99.86 kB / 0.5963 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3498, allocations: 4 kB / 0.5963 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001151/0.351, allocations: 264.2 kB / 0.5966 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.351, allocations: 4 kB / 0.5966 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.351, allocations: 3.938 kB / 0.5966 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.3511, allocations: 4 kB / 0.5966 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.3516, allocations: 63.89 kB / 0.5966 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.3517, allocations: 8.094 kB / 0.5966 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.352, allocations: 35.77 kB / 0.5967 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.3521, allocations: 4 kB / 0.5967 GB, free: 9 MB / 0.4981 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.0002026/0.3523, allocations: 129.7 kB / 0.5968 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.3524, allocations: 11.81 kB / 0.5968 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009852/0.3534, allocations: 201.9 kB / 0.597 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3534, allocations: 4 kB / 0.597 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.907e-05/0.3534, allocations: 4 kB / 0.597 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3535, allocations: 0 / 0.597 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.3539, allocations: 221.4 kB / 0.5972 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3539, allocations: 3.953 kB / 0.5972 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.3542, allocations: 31.92 kB / 0.5973 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.3543, allocations: 4 kB / 0.5973 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3543, allocations: 7.984 kB / 0.5973 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3543, allocations: 4 kB / 0.5973 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3543, allocations: 0 / 0.5973 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.3552, allocations: 271.4 kB / 0.5975 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.3554, allocations: 100.9 kB / 0.5976 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.3554, allocations: 7.938 kB / 0.5976 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.3557, allocations: 19.98 kB / 0.5977 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.3558, allocations: 11.98 kB / 0.5977 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.3558, allocations: 3.984 kB / 0.5977 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001718/0.356, allocations: 117.8 kB / 0.5978 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.356, allocations: 0 / 0.5978 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007028/0.3567, allocations: 60.3 kB / 0.5978 GB, free: 7.715 MB / 0.4981 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.001794/0.3586, allocations: 0.8683 MB / 0.5987 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.3595, allocations: 191.8 kB / 0.5989 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3595, allocations: 0 / 0.5989 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.3599, allocations: 80.12 kB / 0.599 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.3604, allocations: 21.03 kB / 0.599 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3623, allocations: 1.057 MB / 0.6 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.3628, allocations: 0.7087 MB / 0.6007 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.363, allocations: 20.69 kB / 0.6007 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3632, allocations: 35.42 kB / 0.6007 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.3632, allocations: 0 / 0.6007 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04872/0.4119, allocations: 3.935 MB / 0.6046 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004022/0.4124, allocations: 199.9 kB / 0.6048 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.443/3.856, allocations: 0 / 0.6048 GB, free: 0.6406 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: