Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",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.004371/0.004371, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001146/0.001146, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9031/0.9031, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 55.91 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4038, allocations: 80.91 MB / 0.6641 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001468/0.4053, allocations: 0.5232 MB / 0.6646 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.4055, allocations: 44.28 kB / 0.6647 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.4055, allocations: 0 / 0.6647 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.4056, allocations: 0 / 0.6647 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.4057, allocations: 1.312 kB / 0.6647 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.796e-05/0.4058, allocations: 14.64 kB / 0.6647 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.724e-05/0.4058, allocations: 12.23 kB / 0.6647 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.4059, allocations: 2.219 kB / 0.6647 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.4059, allocations: 5.047 kB / 0.6647 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.406, allocations: 9.062 kB / 0.6647 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.406, allocations: 0 / 0.6647 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.406, allocations: 1.25 kB / 0.6647 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.4061, allocations: 6.547 kB / 0.6647 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.4061, allocations: 9.281 kB / 0.6647 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.207e-05/0.4062, allocations: 11.67 kB / 0.6648 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4062, allocations: 4 kB / 0.6648 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4062, allocations: 0 / 0.6648 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.4062, allocations: 0 / 0.6648 GB, free: 6.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003224/0.4065, allocations: 321.8 kB / 0.6651 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4066, allocations: 10.41 kB / 0.6651 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.265e-05/0.4066, allocations: 34.75 kB / 0.6651 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.4066, allocations: 10 kB / 0.6651 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.4068, allocations: 180 kB / 0.6653 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-06/0.4068, allocations: 384 / 0.6653 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.4068, allocations: 9.312 kB / 0.6653 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.545e-05/0.4069, allocations: 29.23 kB / 0.6653 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.4069, allocations: 0 / 0.6653 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.4069, allocations: 5.328 kB / 0.6653 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4069, allocations: 0 / 0.6653 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.4069, allocations: 2.469 kB / 0.6653 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.407, allocations: 153.2 kB / 0.6655 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.155e-05/0.4071, allocations: 30.55 kB / 0.6655 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.4071, allocations: 15.52 kB / 0.6655 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.4071, allocations: 3.984 kB / 0.6655 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.4071, allocations: 35.86 kB / 0.6656 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.4071, allocations: 0 / 0.6656 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.4073, allocations: 39.38 kB / 0.6656 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.4073, allocations: 55.34 kB / 0.6657 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.4074, allocations: 107.6 kB / 0.6658 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.4074, allocations: 31.08 kB / 0.6658 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.003e-05/0.4074, allocations: 85.58 kB / 0.6659 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.4074, allocations: 3.906 kB / 0.6659 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.4074, allocations: 12.69 kB / 0.6659 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.4075, allocations: 319.9 kB / 0.6662 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.4075, allocations: 2.625 kB / 0.6662 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.4075, allocations: 14.47 kB / 0.6662 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.4076, allocations: 28.86 kB / 0.6662 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4076, allocations: 0 / 0.6662 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.975e-05/0.4076, allocations: 49.78 kB / 0.6663 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4077, allocations: 5.125 kB / 0.6663 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4077, allocations: 1.094 kB / 0.6663 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4077, allocations: 1.125 kB / 0.6663 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.4077, allocations: 2.75 kB / 0.6663 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4078, allocations: 1.531 kB / 0.6663 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.4078, allocations: 9.484 kB / 0.6663 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.4078, allocations: 0 / 0.6663 GB, free: 5.113 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.743e-05/0.4078, allocations: 113.7 kB / 0.6664 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.4079, allocations: 12.72 kB / 0.6664 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.123e-05/0.4079, allocations: 43.28 kB / 0.6665 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.408, allocations: 1.375 kB / 0.6665 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.408, allocations: 0 / 0.6665 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.408, allocations: 0 / 0.6665 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.951e-05/0.408, allocations: 167.6 kB / 0.6666 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.408, allocations: 0 / 0.6666 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.4081, allocations: 6.906 kB / 0.6666 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4081, allocations: 1.438 kB / 0.6666 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4081, allocations: 7.938 kB / 0.6666 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4081, allocations: 1.125 kB / 0.6666 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4081, allocations: 0 / 0.6666 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.655e-05/0.4082, allocations: 90.73 kB / 0.6667 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.4082, allocations: 78.17 kB / 0.6668 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.4083, allocations: 1.125 kB / 0.6668 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.4083, allocations: 0 / 0.6668 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.4083, allocations: 1.094 kB / 0.6668 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.4083, allocations: 1.219 kB / 0.6668 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.4083, allocations: 89.86 kB / 0.6669 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4083, allocations: 0 / 0.6669 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001718/0.4085, allocations: 3.438 kB / 0.6669 GB, free: 4.457 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.000224/0.4088, allocations: 0.6243 MB / 0.6675 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.4088, allocations: 14.05 kB / 0.6675 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4088, allocations: 0 / 0.6675 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.4089, allocations: 5.438 kB / 0.6675 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.409, allocations: 9.5 kB / 0.6675 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.4096, allocations: 1.158 MB / 0.6687 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.272e-05/0.4097, allocations: 0.6815 MB / 0.6693 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.4098, allocations: 2.656 kB / 0.6693 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.4098, allocations: 12.89 kB / 0.6693 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4098, allocations: 0 / 0.6693 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.4277, allocations: 1.187 MB / 0.6705 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.691, allocations: 14.22 kB / 0.6705 GB, free: 1.242 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)