Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.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.Sensors.Examples.Density,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density",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.002738/0.002738, allocations: 100.1 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.001894/0.001894, 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.706/2.706, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.009/2.009, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005948, allocations: 15.02 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3927, allocations: 82.31 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 1.139/1.532, allocations: 154 MB / 0.7376 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02928/1.561, allocations: 6.502 MB / 0.744 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/1.564, allocations: 19.47 kB / 0.744 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003091/1.568, allocations: 420 kB / 0.7444 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/1.578, allocations: 1.308 MB / 0.7457 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008744/1.587, allocations: 1.036 MB / 0.7467 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00546/1.593, allocations: 1.138 MB / 0.7478 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/1.595, allocations: 0.4913 MB / 0.7483 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/1.599, allocations: 0.6153 MB / 0.7489 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/1.601, allocations: 385.4 kB / 0.7492 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005054/1.601, allocations: 28 kB / 0.7493 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006459/1.608, allocations: 0.8853 MB / 0.7501 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/1.609, allocations: 227.3 kB / 0.7504 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008609/1.61, allocations: 173.3 kB / 0.7505 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/1.614, allocations: 1.017 MB / 0.7515 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.614, allocations: 3.938 kB / 0.7515 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.887e-06/1.614, allocations: 0 / 0.7515 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.382e-05/1.615, allocations: 0 / 0.7515 GB, free: 4.34 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004764/1.619, allocations: 0.9839 MB / 0.7525 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.798e-05/1.619, allocations: 8.031 kB / 0.7525 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004599/1.62, allocations: 94.52 kB / 0.7526 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/1.624, allocations: 274.8 kB / 0.7528 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/1.627, allocations: 0.5679 MB / 0.7534 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/1.627, allocations: 45.3 kB / 0.7534 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/1.628, allocations: 59.91 kB / 0.7535 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/1.63, allocations: 0.6323 MB / 0.7541 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/1.63, allocations: 0 / 0.7541 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/1.631, allocations: 27.06 kB / 0.7541 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.975e-05/1.631, allocations: 21.31 kB / 0.7542 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/1.633, allocations: 0.5243 MB / 0.7547 GB, free: 1.004 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007782/1.641, allocations: 2.445 MB / 0.7571 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/1.642, allocations: 398.5 kB / 0.7574 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007104/1.643, allocations: 137.4 kB / 0.7576 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.15e-05/1.643, allocations: 38.89 kB / 0.7576 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 5.821e-06/1.643, allocations: 3.938 kB / 0.7576 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.003017/1.646, allocations: 0.6246 MB / 0.7582 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/1.646, allocations: 55.41 kB / 0.7583 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/1.648, allocations: 0.4911 MB / 0.7587 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/1.648, allocations: 33.7 kB / 0.7588 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005541/1.648, allocations: 324.5 kB / 0.7591 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/1.649, allocations: 146 kB / 0.7592 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/1.649, allocations: 4 kB / 0.7592 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003535/1.649, allocations: 370.7 kB / 0.7596 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/1.65, allocations: 168.8 kB / 0.7597 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/1.651, allocations: 296.2 kB / 0.76 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/1.652, allocations: 207.9 kB / 0.7602 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.859e-05/1.652, allocations: 4 kB / 0.7602 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001993/1.654, allocations: 0.5295 MB / 0.7607 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008734/1.655, allocations: 0.8813 MB / 0.7616 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.655, allocations: 0 / 0.7616 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.992e-05/1.655, allocations: 8 kB / 0.7616 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.656, allocations: 143.8 kB / 0.7618 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007653/1.657, allocations: 0.59 MB / 0.7623 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.658, allocations: 88.16 kB / 0.7624 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/1.659, allocations: 19.94 kB / 0.7624 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.659, allocations: 5.875 kB / 0.7624 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001748/1.66, allocations: 463.6 kB / 0.7629 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.66, allocations: 4 kB / 0.7629 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.66, allocations: 4 kB / 0.7629 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.661, allocations: 127.9 kB / 0.763 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/1.661, allocations: 7.984 kB / 0.763 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.663, allocations: 71.64 kB / 0.7631 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/1.663, allocations: 20.08 kB / 0.7631 GB, free: 7.926 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000855/1.664, allocations: 301 kB / 0.7634 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/1.664, allocations: 71.19 kB / 0.7635 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/1.666, allocations: 0.4918 MB / 0.7639 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.666, allocations: 4 kB / 0.7639 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.666, allocations: 0 / 0.7639 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001649/1.668, allocations: 0.7105 MB / 0.7646 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004799/1.673, allocations: 1.294 MB / 0.7659 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.673, allocations: 0 / 0.7659 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.674, allocations: 140.1 kB / 0.766 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.566e-05/1.674, allocations: 4 kB / 0.766 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/1.674, allocations: 8 kB / 0.766 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006884/1.675, allocations: 0.5937 MB / 0.7666 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/1.675, allocations: 4.031 kB / 0.7666 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/1.678, allocations: 0.9195 MB / 0.7675 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/1.679, allocations: 176.3 kB / 0.7677 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/1.679, allocations: 15.98 kB / 0.7677 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.68, allocations: 51.81 kB / 0.7678 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.681, allocations: 27.95 kB / 0.7678 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.31e-05/1.681, allocations: 19.94 kB / 0.7678 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001008/1.682, allocations: 350.8 kB / 0.7681 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.7e-07/1.682, allocations: 0 / 0.7681 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002486/1.684, allocations: 359.2 kB / 0.7685 GB, free: 2.117 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004688/1.689, allocations: 2.046 MB / 0.7705 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003167/1.692, allocations: 0.6755 MB / 0.7711 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.692, allocations: 0 / 0.7711 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009453/1.693, allocations: 233.1 kB / 0.7714 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/1.697, allocations: 351.2 kB / 0.7717 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.714, allocations: 5.165 MB / 0.7767 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.715, allocations: 0.9572 MB / 0.7777 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001512/1.717, allocations: 209 kB / 0.7779 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006654/1.718, allocations: 227.4 kB / 0.7781 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of SimCode: time 2.255e-06/1.718, allocations: 0 / 0.7781 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09363/1.811, allocations: 17.52 MB / 0.7952 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000458/1.812, allocations: 233 kB / 0.7954 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.986/5.798, allocations: 0 / 0.7954 GB, free: 6.641 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: