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.00109/0.00109, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008157/0.008157, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7129/0.7129, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 11.94 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.35, allocations: 81.57 MB / 0.5837 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.1686/0.5187, allocations: 180.4 MB / 0.7599 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008064/0.5268, allocations: 6.948 MB / 0.7667 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006434/0.5274, allocations: 27.81 kB / 0.7667 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008195/0.5283, allocations: 342.1 kB / 0.7671 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.5309, allocations: 1.366 MB / 0.7684 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.5331, allocations: 1.039 MB / 0.7694 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002481/0.5356, allocations: 2.719 MB / 0.7721 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000732/0.5364, allocations: 0.5473 MB / 0.7726 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.5375, allocations: 0.708 MB / 0.7733 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.5387, allocations: 0.5929 MB / 0.7739 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.313e-05/0.5388, allocations: 31.94 kB / 0.7739 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.5416, allocations: 2.186 MB / 0.776 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.5419, allocations: 251.2 kB / 0.7763 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004121/0.5423, allocations: 415.7 kB / 0.7767 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.5444, allocations: 1.811 MB / 0.7784 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.5444, allocations: 0 / 0.7784 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5444, allocations: 0 / 0.7784 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.5444, allocations: 0 / 0.7784 GB, free: 8.266 MB / 0.6075 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.001377/0.5458, allocations: 1.017 MB / 0.7794 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.5458, allocations: 12.03 kB / 0.7794 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.768e-05/0.5459, allocations: 94.52 kB / 0.7795 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.5475, allocations: 266.8 kB / 0.7798 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007263/0.5483, allocations: 0.587 MB / 0.7804 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.5483, allocations: 45.25 kB / 0.7804 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.5484, allocations: 59.91 kB / 0.7805 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009345/0.5494, allocations: 0.6362 MB / 0.7811 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.5494, allocations: 3.984 kB / 0.7811 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.5494, allocations: 20 kB / 0.7811 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.5495, allocations: 25.3 kB / 0.7811 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008363/0.5503, allocations: 0.5321 MB / 0.7816 GB, free: 4.855 MB / 0.6075 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.002464/0.5528, allocations: 2.445 MB / 0.784 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.5534, allocations: 390.9 kB / 0.7844 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.5537, allocations: 237.4 kB / 0.7846 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/0.5542, allocations: 323.6 kB / 0.7849 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5543, allocations: 34.89 kB / 0.785 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.343e-06/0.5543, allocations: 0 / 0.785 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.00119/0.5555, allocations: 0.6384 MB / 0.7856 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.5555, allocations: 55.41 kB / 0.7856 GB, free: 464 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.556, allocations: 0.5029 MB / 0.7861 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.556, allocations: 33.7 kB / 0.7862 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.5562, allocations: 328.5 kB / 0.7865 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.5563, allocations: 137.9 kB / 0.7866 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.5564, allocations: 37.7 kB / 0.7867 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5565, allocations: 370.8 kB / 0.787 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.5568, allocations: 168.8 kB / 0.7872 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.5572, allocations: 296.2 kB / 0.7874 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.5579, allocations: 460.9 kB / 0.7879 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5579, allocations: 0 / 0.7879 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008069/0.5587, allocations: 0.5405 MB / 0.7884 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.5588, allocations: 164.8 kB / 0.7886 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5588, allocations: 8 kB / 0.7886 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5588, allocations: 4 kB / 0.7886 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.5595, allocations: 139.9 kB / 0.7887 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003001/0.5598, allocations: 0.5938 MB / 0.7893 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.5603, allocations: 79.58 kB / 0.7894 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.5604, allocations: 23.94 kB / 0.7894 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-06/0.5604, allocations: 4 kB / 0.7894 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007373/0.5611, allocations: 459.7 kB / 0.7898 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.5611, allocations: 0 / 0.7898 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.5611, allocations: 8 kB / 0.7898 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.5616, allocations: 132 kB / 0.79 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5616, allocations: 8 kB / 0.79 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.5621, allocations: 71.64 kB / 0.79 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.5622, allocations: 19.98 kB / 0.7901 GB, free: 11.75 MB / 0.6231 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.0002552/0.5624, allocations: 310.4 kB / 0.7904 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.5625, allocations: 63.19 kB / 0.7904 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008034/0.5633, allocations: 492 kB / 0.7909 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5633, allocations: 4 kB / 0.7909 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5634, allocations: 0 / 0.7909 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007152/0.5641, allocations: 0.7224 MB / 0.7916 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.5657, allocations: 1.284 MB / 0.7929 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5658, allocations: 0 / 0.7929 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.5663, allocations: 140.1 kB / 0.793 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.5663, allocations: 4 kB / 0.793 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.5664, allocations: 15.94 kB / 0.793 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002348/0.5666, allocations: 0.5898 MB / 0.7936 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5666, allocations: 4.094 kB / 0.7936 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.5677, allocations: 0.8419 MB / 0.7944 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.5679, allocations: 180.3 kB / 0.7946 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.568, allocations: 15.94 kB / 0.7946 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.5684, allocations: 51.8 kB / 0.7946 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.5685, allocations: 39.89 kB / 0.7947 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.5685, allocations: 12 kB / 0.7947 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003272/0.5689, allocations: 350.8 kB / 0.795 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5689, allocations: 0 / 0.795 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007511/0.5696, allocations: 359.2 kB / 0.7954 GB, free: 6.051 MB / 0.6231 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.001575/0.5712, allocations: 1.516 MB / 0.7969 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.5725, allocations: 0.6718 MB / 0.7975 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5725, allocations: 4 kB / 0.7975 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.5729, allocations: 225.4 kB / 0.7977 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.5746, allocations: 356.8 kB / 0.7981 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006184/0.5808, allocations: 5.456 MB / 0.8034 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.5812, allocations: 0.9455 MB / 0.8043 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005998/0.5818, allocations: 201 kB / 0.8045 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.5821, allocations: 235.3 kB / 0.8047 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.5821, allocations: 0 / 0.8047 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.043/2.625, allocations: 16.96 MB / 0.8213 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/2.625, allocations: 246 kB / 0.8215 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/4.991, allocations: 0 / 0.8215 GB, free: 218.2 MB / 0.6387 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)