Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_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.001113/0.001113, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001106, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7586/0.7586, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 60.88 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3693, allocations: 80.21 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00563/0.3749, allocations: 4.537 MB / 0.5846 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008926/0.3759, allocations: 0.8177 MB / 0.5854 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.3759, allocations: 1.031 kB / 0.5854 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.3761, allocations: 29.02 kB / 0.5855 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.3762, allocations: 31.45 kB / 0.5855 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.3767, allocations: 179 kB / 0.5857 GB, free: 0.582 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3769, allocations: 170.7 kB / 0.5858 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.377, allocations: 15.22 kB / 0.5858 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.3772, allocations: 84.61 kB / 0.5859 GB, free: 472 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3773, allocations: 76.31 kB / 0.586 GB, free: 440 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.3773, allocations: 12 kB / 0.586 GB, free: 440 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.3777, allocations: 154.4 kB / 0.5861 GB, free: 392 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.3777, allocations: 36.11 kB / 0.5862 GB, free: 368 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.391e-05/0.3778, allocations: 71.78 kB / 0.5863 GB, free: 324 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.3782, allocations: 240 kB / 0.5865 GB, free: 236 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3782, allocations: 0 / 0.5865 GB, free: 236 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3782, allocations: 1.469 kB / 0.5865 GB, free: 236 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3782, allocations: 0 / 0.5865 GB, free: 236 kB / 430.1 MB 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.0008853/0.3791, allocations: 479.9 kB / 0.5869 GB, free: 15.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3792, allocations: 9.531 kB / 0.5869 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.3792, allocations: 39.7 kB / 0.587 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.3793, allocations: 14.84 kB / 0.587 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3794, allocations: 185.5 kB / 0.5872 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3795, allocations: 15.78 kB / 0.5872 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.3795, allocations: 15.53 kB / 0.5872 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.3799, allocations: 118.2 kB / 0.5873 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3799, allocations: 4.531 kB / 0.5873 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3799, allocations: 0.5 kB / 0.5873 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3799, allocations: 2.938 kB / 0.5873 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.3804, allocations: 142.3 kB / 0.5875 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3814, allocations: 473.2 kB / 0.5879 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.3818, allocations: 134.9 kB / 0.588 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.382, allocations: 69.36 kB / 0.5881 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.3834, allocations: 0.9576 MB / 0.589 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3834, allocations: 45 kB / 0.5891 GB, free: 14.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.3834, allocations: 0 / 0.5891 GB, free: 14.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007447/0.3842, allocations: 212.6 kB / 0.5893 GB, free: 13.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3842, allocations: 53.39 kB / 0.5893 GB, free: 13.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3844, allocations: 161 kB / 0.5895 GB, free: 13.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3844, allocations: 31.92 kB / 0.5895 GB, free: 13.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.3845, allocations: 107 kB / 0.5896 GB, free: 13.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.3846, allocations: 40.42 kB / 0.5897 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3847, allocations: 53.84 kB / 0.5897 GB, free: 13.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3848, allocations: 321.4 kB / 0.59 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.3851, allocations: 75.48 kB / 0.5901 GB, free: 13.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.3853, allocations: 109.6 kB / 0.5902 GB, free: 13.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.3858, allocations: 175 kB / 0.5904 GB, free: 13.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3858, allocations: 0 / 0.5904 GB, free: 13.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000587/0.3864, allocations: 242.9 kB / 0.5906 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3864, allocations: 5.5 kB / 0.5906 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3865, allocations: 5.312 kB / 0.5906 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3865, allocations: 2.109 kB / 0.5906 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.3868, allocations: 54.09 kB / 0.5907 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.3868, allocations: 2.891 kB / 0.5907 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.3869, allocations: 31.91 kB / 0.5907 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.387, allocations: 6.406 kB / 0.5907 GB, free: 12.96 MB / 446.1 MB 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.6e-05/0.3871, allocations: 129.2 kB / 0.5908 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.3871, allocations: 20.67 kB / 0.5908 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004958/0.3876, allocations: 179.7 kB / 0.591 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3876, allocations: 2.172 kB / 0.591 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3877, allocations: 3.938 kB / 0.591 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3877, allocations: 2.109 kB / 0.591 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.3879, allocations: 217.3 kB / 0.5912 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3879, allocations: 5.469 kB / 0.5912 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.3881, allocations: 31.73 kB / 0.5913 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3881, allocations: 0.9375 kB / 0.5913 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3881, allocations: 6.094 kB / 0.5913 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3881, allocations: 0.5 kB / 0.5913 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3881, allocations: 0.6562 kB / 0.5913 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.3886, allocations: 258.2 kB / 0.5915 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.3887, allocations: 105.9 kB / 0.5916 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3887, allocations: 6.375 kB / 0.5916 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3889, allocations: 15.38 kB / 0.5916 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3889, allocations: 7.812 kB / 0.5916 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.389, allocations: 6.781 kB / 0.5917 GB, free: 12.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3891, allocations: 114.4 kB / 0.5918 GB, free: 12.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3891, allocations: 4.625 kB / 0.5918 GB, free: 12.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.3895, allocations: 58.77 kB / 0.5918 GB, free: 12.11 MB / 446.1 MB 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.0009203/0.3904, allocations: 0.8492 MB / 0.5927 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.3909, allocations: 176.4 kB / 0.5928 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3909, allocations: 0 / 0.5928 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3911, allocations: 67.5 kB / 0.5929 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3915, allocations: 21.06 kB / 0.5929 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.3941, allocations: 1.935 MB / 0.5948 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3944, allocations: 0.7038 MB / 0.5955 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.3945, allocations: 28.86 kB / 0.5955 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.3946, allocations: 34.81 kB / 0.5955 GB, free: 9.113 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3946, allocations: 0 / 0.5955 GB, free: 9.113 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2728/0.6674, allocations: 4.226 MB / 0.5997 GB, free: 7.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.447, allocations: 6.359 kB / 0.5997 GB, free: 7.5 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)