Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",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.00171/0.00171, allocations: 99.62 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.002381/0.00238, 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 4.0.0+maint.om/package.mo): time 2.539/2.539, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.764/1.764, allocations: 135.2 MB / 426.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000625/0.0006251, allocations: 9.406 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3118, allocations: 82.31 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001298/0.3132, allocations: 234.9 kB / 0.5875 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000213/0.3135, allocations: 19.92 kB / 0.5875 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.3135, allocations: 0 / 0.5875 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.3136, allocations: 0 / 0.5875 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.3138, allocations: 8 kB / 0.5875 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.3138, allocations: 0 / 0.5875 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.3139, allocations: 0 / 0.5875 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.089e-05/0.314, allocations: 0 / 0.5875 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.057e-05/0.314, allocations: 3.984 kB / 0.5875 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.3141, allocations: 7.938 kB / 0.5875 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3141, allocations: 0 / 0.5875 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.3141, allocations: 0 / 0.5875 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.3142, allocations: 0 / 0.5875 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.3142, allocations: 29.7 kB / 0.5876 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.775e-05/0.3143, allocations: 0 / 0.5876 GB, free: 2.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3143, allocations: 7.938 kB / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3143, allocations: 0 / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3143, allocations: 0 / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004482/0.3148, allocations: 311.4 kB / 0.5879 GB, free: 2.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.627e-05/0.3149, allocations: 8.094 kB / 0.5879 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.3149, allocations: 30.56 kB / 0.5879 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.315, allocations: 4 kB / 0.5879 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3151, allocations: 163 kB / 0.5881 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3151, allocations: 0 / 0.5881 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.3152, allocations: 0 / 0.5881 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3153, allocations: 55.34 kB / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3153, allocations: 0 / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3153, allocations: 0 / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3154, allocations: 0 / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.3154, allocations: 4 kB / 0.5881 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.3156, allocations: 162.5 kB / 0.5883 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.07e-05/0.3157, allocations: 37.09 kB / 0.5883 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.3158, allocations: 4.125 kB / 0.5883 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.3158, allocations: 34.56 kB / 0.5884 GB, free: 1.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3158, allocations: 0 / 0.5884 GB, free: 1.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001998/0.316, allocations: 49.52 kB / 0.5884 GB, free: 1.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.3161, allocations: 85.36 kB / 0.5885 GB, free: 1.586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.3162, allocations: 89.86 kB / 0.5886 GB, free: 1.488 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3162, allocations: 25.7 kB / 0.5886 GB, free: 1.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.3163, allocations: 80.14 kB / 0.5887 GB, free: 1.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.3163, allocations: 4.281 kB / 0.5887 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.3163, allocations: 3.938 kB / 0.5887 GB, free: 1.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3165, allocations: 310.8 kB / 0.589 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.3165, allocations: 7.938 kB / 0.589 GB, free: 1.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.3166, allocations: 17.7 kB / 0.589 GB, free: 1.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.3166, allocations: 4 kB / 0.589 GB, free: 1.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3166, allocations: 3.953 kB / 0.589 GB, free: 1.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.792e-05/0.3167, allocations: 41.64 kB / 0.589 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3168, allocations: 6.344 kB / 0.589 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3168, allocations: 4 kB / 0.5891 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3168, allocations: 0 / 0.5891 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.3169, allocations: 16.05 kB / 0.5891 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3169, allocations: 0 / 0.5891 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.317, allocations: 7.844 kB / 0.5891 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.317, allocations: 0 / 0.5891 GB, free: 0.9375 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3171, allocations: 120.2 kB / 0.5892 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.3171, allocations: 3.953 kB / 0.5892 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.3173, allocations: 48.75 kB / 0.5892 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3173, allocations: 4.062 kB / 0.5892 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3173, allocations: 4 kB / 0.5892 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3173, allocations: 0 / 0.5892 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3174, allocations: 149.7 kB / 0.5894 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3175, allocations: 0 / 0.5894 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.3175, allocations: 7.953 kB / 0.5894 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3175, allocations: 0 / 0.5894 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3175, allocations: 4 kB / 0.5894 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3175, allocations: 0 / 0.5894 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3175, allocations: 4 kB / 0.5894 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3177, allocations: 87.59 kB / 0.5895 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.3177, allocations: 81.11 kB / 0.5896 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3178, allocations: 4 kB / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.892e-05/0.3178, allocations: 0 / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.3178, allocations: 0 / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3178, allocations: 4 kB / 0.5896 GB, free: 324 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.368e-05/0.3179, allocations: 79.31 kB / 0.5896 GB, free: 244 kB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3179, allocations: 0 / 0.5896 GB, free: 244 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.3181, allocations: 0 / 0.5896 GB, free: 244 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006035/0.3187, allocations: 0.6949 MB / 0.5903 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.3188, allocations: 4 kB / 0.5903 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3189, allocations: 4 kB / 0.5903 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.3189, allocations: 3.938 kB / 0.5903 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.319, allocations: 7.938 kB / 0.5903 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.3194, allocations: 125.3 kB / 0.5905 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3198, allocations: 0.6731 MB / 0.5911 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.151e-05/0.3198, allocations: 3.984 kB / 0.5911 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3199, allocations: 7.438 kB / 0.5911 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.3199, allocations: 0 / 0.5911 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.3533, allocations: 0.7143 MB / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004057/0.3538, allocations: 172.6 kB / 0.592 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/3.365, allocations: 0 / 0.592 GB, free: 13.78 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1) Environment - environmentSimulation: