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.0009216/0.0009216, allocations: 92 kB / 15.06 MB, free: 1.098 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.001181/0.001181, allocations: 172.7 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 1.248/1.248, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7069/0.7069, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 12.22 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3755, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00426/0.3798, allocations: 4.057 MB / 0.5871 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008786/0.3807, allocations: 0.7622 MB / 0.5879 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.3808, allocations: 0 / 0.5879 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.381, allocations: 18.14 kB / 0.5879 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.54e-05/0.381, allocations: 27.98 kB / 0.5879 GB, free: 492 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.3814, allocations: 143.1 kB / 0.588 GB, free: 412 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.3816, allocations: 152.4 kB / 0.5882 GB, free: 340 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.3817, allocations: 15.58 kB / 0.5882 GB, free: 336 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.3819, allocations: 75.27 kB / 0.5883 GB, free: 304 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.382, allocations: 76.61 kB / 0.5884 GB, free: 272 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.382, allocations: 7.188 kB / 0.5884 GB, free: 272 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.3823, allocations: 109.5 kB / 0.5885 GB, free: 248 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.3824, allocations: 28.06 kB / 0.5885 GB, free: 232 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.3824, allocations: 48.98 kB / 0.5885 GB, free: 188 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3827, allocations: 155.5 kB / 0.5887 GB, free: 152 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3827, allocations: 0.625 kB / 0.5887 GB, free: 152 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3827, allocations: 0 / 0.5887 GB, free: 152 kB / 430.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.3827, allocations: 0 / 0.5887 GB, free: 152 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.0008192/0.3836, allocations: 477.1 kB / 0.5891 GB, free: 15.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3836, allocations: 13.06 kB / 0.5892 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.3837, allocations: 38.67 kB / 0.5892 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.3837, allocations: 11.22 kB / 0.5892 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3839, allocations: 186.6 kB / 0.5894 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3839, allocations: 9.672 kB / 0.5894 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.3839, allocations: 11.38 kB / 0.5894 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.3843, allocations: 127.6 kB / 0.5895 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3843, allocations: 3.938 kB / 0.5895 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3843, allocations: 9.312 kB / 0.5895 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3843, allocations: 1.188 kB / 0.5895 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.3848, allocations: 162.8 kB / 0.5897 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009602/0.3858, allocations: 465.9 kB / 0.5901 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.3861, allocations: 140.5 kB / 0.5903 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.3863, allocations: 81.27 kB / 0.5903 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.3876, allocations: 0.9586 MB / 0.5913 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3877, allocations: 39.59 kB / 0.5913 GB, free: 13.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3877, allocations: 0.625 kB / 0.5913 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007045/0.3884, allocations: 241.1 kB / 0.5916 GB, free: 13.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3885, allocations: 53.17 kB / 0.5916 GB, free: 13.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3886, allocations: 165.8 kB / 0.5918 GB, free: 13.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.3887, allocations: 27.11 kB / 0.5918 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.3887, allocations: 116.2 kB / 0.5919 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3888, allocations: 39.16 kB / 0.5919 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.3888, allocations: 5.531 kB / 0.5919 GB, free: 13.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3889, allocations: 325.4 kB / 0.5922 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.3892, allocations: 88.2 kB / 0.5923 GB, free: 13.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.3894, allocations: 115.6 kB / 0.5924 GB, free: 13.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.3897, allocations: 94.45 kB / 0.5925 GB, free: 13.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3897, allocations: 1.094 kB / 0.5925 GB, free: 13.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005737/0.3903, allocations: 267.7 kB / 0.5928 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3903, allocations: 4.656 kB / 0.5928 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3903, allocations: 5.406 kB / 0.5928 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3903, allocations: 6.406 kB / 0.5928 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.3906, allocations: 59.48 kB / 0.5929 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3906, allocations: 2.781 kB / 0.5929 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3908, allocations: 36.22 kB / 0.5929 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.3908, allocations: 6.875 kB / 0.5929 GB, free: 12.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.3909, allocations: 132.6 kB / 0.593 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.3909, allocations: 12.84 kB / 0.593 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.3915, allocations: 206.7 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3915, allocations: 1.891 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3915, allocations: 1.25 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3915, allocations: 0.8906 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.3917, allocations: 225.8 kB / 0.5935 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3917, allocations: 0.75 kB / 0.5935 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.3919, allocations: 33.41 kB / 0.5935 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3919, allocations: 0.5938 kB / 0.5935 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3919, allocations: 2.094 kB / 0.5935 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3919, allocations: 0.5 kB / 0.5935 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3919, allocations: 0.75 kB / 0.5935 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.3924, allocations: 288.5 kB / 0.5938 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.3925, allocations: 102.7 kB / 0.5939 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3925, allocations: 1.781 kB / 0.5939 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3927, allocations: 20.22 kB / 0.5939 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.3927, allocations: 8.859 kB / 0.5939 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3927, allocations: 2.719 kB / 0.5939 GB, free: 12.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.793e-05/0.3928, allocations: 120.3 kB / 0.594 GB, free: 12.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3928, allocations: 0 / 0.594 GB, free: 12.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003368/0.3932, allocations: 55.22 kB / 0.5941 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 (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.0009044/0.3941, allocations: 0.87 MB / 0.5949 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005091/0.3946, allocations: 192.3 kB / 0.5951 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3946, allocations: 0 / 0.5951 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.3948, allocations: 85.5 kB / 0.5952 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.3952, allocations: 27.89 kB / 0.5952 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3969, allocations: 1.005 MB / 0.5962 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3972, allocations: 0.712 MB / 0.5969 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.3973, allocations: 16.28 kB / 0.5969 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.3974, allocations: 39.28 kB / 0.5969 GB, free: 9.984 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3974, allocations: 0 / 0.5969 GB, free: 9.984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.273/2.67, allocations: 3.99 MB / 0.6008 GB, free: 8.621 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/2.671, allocations: 198.6 kB / 0.601 GB, free: 8.379 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/5.76, allocations: 0 / 0.601 GB, free: 8.379 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/linux/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) Environment - environmentSimulation: