Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Sensors.Examples.Density,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_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.004374/0.004374, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001179/0.001179, allocations: 189.1 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8276/0.8276, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 68.5 kB / 0.5809 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1596, allocations: 80.21 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.557/0.7166, allocations: 185 MB / 0.8399 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008598/0.7252, allocations: 6.971 MB / 0.8467 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.7267, allocations: 28.22 kB / 0.8467 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.7279, allocations: 400.8 kB / 0.8471 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.7318, allocations: 1.447 MB / 0.8485 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.7352, allocations: 1.166 MB / 0.8497 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002714/0.7379, allocations: 1.936 MB / 0.8516 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008469/0.7387, allocations: 0.6645 MB / 0.8522 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.7403, allocations: 0.8259 MB / 0.853 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.7418, allocations: 0.6034 MB / 0.8536 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.742, allocations: 70 kB / 0.8537 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.7455, allocations: 1.925 MB / 0.8556 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.7458, allocations: 292.5 kB / 0.8558 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005699/0.7464, allocations: 427.7 kB / 0.8562 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.7494, allocations: 1.775 MB / 0.858 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7494, allocations: 3.438 kB / 0.858 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7494, allocations: 0.9375 kB / 0.858 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.7494, allocations: 3.094 kB / 0.858 GB, free: 2.277 MB / 0.6387 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.001599/0.751, allocations: 1.188 MB / 0.8591 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7511, allocations: 10.97 kB / 0.8591 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.589e-05/0.7512, allocations: 96.12 kB / 0.8592 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.7529, allocations: 275.7 kB / 0.8595 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.7537, allocations: 0.6196 MB / 0.8601 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.7538, allocations: 43.81 kB / 0.8602 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.7539, allocations: 58.47 kB / 0.8602 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008974/0.7548, allocations: 0.6282 MB / 0.8608 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.7548, allocations: 4.891 kB / 0.8608 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.7549, allocations: 22.41 kB / 0.8608 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.7549, allocations: 23.67 kB / 0.8609 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.7557, allocations: 0.5234 MB / 0.8614 GB, free: 1.094 MB / 0.6387 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.002481/0.7582, allocations: 2.449 MB / 0.8638 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.7587, allocations: 379.9 kB / 0.8641 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.7591, allocations: 240.7 kB / 0.8644 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005661/0.7596, allocations: 304.9 kB / 0.8647 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.7597, allocations: 41.08 kB / 0.8647 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.944e-06/0.7597, allocations: 0 / 0.8647 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.0012/0.7609, allocations: 0.618 MB / 0.8653 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.761, allocations: 61.75 kB / 0.8654 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.7614, allocations: 0.4917 MB / 0.8658 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.7615, allocations: 34.89 kB / 0.8659 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.7617, allocations: 339.3 kB / 0.8662 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.7618, allocations: 142.9 kB / 0.8663 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.7619, allocations: 92.16 kB / 0.8664 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.7621, allocations: 366.8 kB / 0.8668 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.7624, allocations: 176.6 kB / 0.8669 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.7628, allocations: 288.7 kB / 0.8672 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.7634, allocations: 447.5 kB / 0.8676 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7634, allocations: 3.312 kB / 0.8676 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007869/0.7642, allocations: 0.5236 MB / 0.8682 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.7642, allocations: 7.875 kB / 0.8682 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.7643, allocations: 3.219 kB / 0.8682 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7643, allocations: 6 kB / 0.8682 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/0.7649, allocations: 130.1 kB / 0.8683 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000417/0.7654, allocations: 0.5967 MB / 0.8689 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.7659, allocations: 53.98 kB / 0.8689 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.766, allocations: 20.41 kB / 0.8689 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004784/0.7664, allocations: 351.4 kB / 0.8693 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003608/0.7668, allocations: 289.1 kB / 0.8696 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006278/0.7674, allocations: 453.8 kB / 0.87 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.7675, allocations: 3.844 kB / 0.87 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007643/0.7682, allocations: 0.5231 MB / 0.8705 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.7682, allocations: 4.906 kB / 0.8705 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.7683, allocations: 4.969 kB / 0.8705 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.7683, allocations: 3.5 kB / 0.8705 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.7687, allocations: 118.4 kB / 0.8706 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7687, allocations: 9.531 kB / 0.8706 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.7692, allocations: 52.53 kB / 0.8707 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.7693, allocations: 20.08 kB / 0.8707 GB, free: 13.25 MB / 0.6544 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.7694, allocations: 206.8 kB / 0.8709 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.7696, allocations: 60.5 kB / 0.871 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007721/0.7703, allocations: 481.4 kB / 0.8714 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.7703, allocations: 5.562 kB / 0.8714 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7704, allocations: 3.938 kB / 0.8714 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007654/0.7711, allocations: 0.7039 MB / 0.8721 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.7728, allocations: 1.279 MB / 0.8734 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7728, allocations: 2.094 kB / 0.8734 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.7734, allocations: 124.9 kB / 0.8735 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.7734, allocations: 2.812 kB / 0.8735 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.7735, allocations: 12.84 kB / 0.8735 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003711/0.7738, allocations: 0.5949 MB / 0.8741 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.7739, allocations: 12.31 kB / 0.8741 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.7749, allocations: 0.8153 MB / 0.8749 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.7752, allocations: 186.7 kB / 0.8751 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.7753, allocations: 13.03 kB / 0.8751 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.7757, allocations: 18.12 kB / 0.8751 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.7758, allocations: 36.17 kB / 0.8751 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.7758, allocations: 17.22 kB / 0.8752 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003828/0.7762, allocations: 353.3 kB / 0.8755 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7762, allocations: 0 / 0.8755 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008771/0.7771, allocations: 361.6 kB / 0.8758 GB, free: 11.09 MB / 0.6544 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001949/0.779, allocations: 1.491 MB / 0.8773 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.7804, allocations: 0.6658 MB / 0.8779 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7804, allocations: 4.031 kB / 0.8779 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.7807, allocations: 216.9 kB / 0.8781 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.7823, allocations: 368.1 kB / 0.8785 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/0.7887, allocations: 5.01 MB / 0.8834 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.7893, allocations: 0.951 MB / 0.8843 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006963/0.79, allocations: 209.7 kB / 0.8845 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.7904, allocations: 228.7 kB / 0.8847 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of SimCode: time 1.152e-06/0.7904, allocations: 0 / 0.8847 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04723/0.8376, allocations: 17.88 MB / 0.9022 GB, free: 14.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.78, allocations: 0.9375 kB / 0.9022 GB, free: 14.21 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)