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.001102/0.001102, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9201/0.9201, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.31 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 80.93 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.3888/0.5165, allocations: 185 MB / 0.7652 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009445/0.526, allocations: 6.977 MB / 0.772 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007814/0.5268, allocations: 23.88 kB / 0.772 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.5278, allocations: 405.5 kB / 0.7724 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.531, allocations: 1.444 MB / 0.7738 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.5335, allocations: 1.152 MB / 0.7749 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00193/0.5354, allocations: 1.95 MB / 0.7768 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000744/0.5362, allocations: 0.6453 MB / 0.7774 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.5373, allocations: 0.8328 MB / 0.7783 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009746/0.5383, allocations: 0.5917 MB / 0.7788 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.5384, allocations: 68 kB / 0.7789 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.5413, allocations: 1.921 MB / 0.7808 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.5416, allocations: 295.2 kB / 0.7811 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.542, allocations: 430 kB / 0.7815 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.544, allocations: 1.761 MB / 0.7832 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.544, allocations: 0 / 0.7832 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5441, allocations: 0 / 0.7832 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.5441, allocations: 0 / 0.7832 GB, free: 1.289 MB / 0.5919 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.001582/0.5457, allocations: 1.161 MB / 0.7843 GB, free: 84 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5457, allocations: 15.97 kB / 0.7843 GB, free: 68 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.5458, allocations: 94.59 kB / 0.7844 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.5476, allocations: 270.7 kB / 0.7847 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.5484, allocations: 0.5831 MB / 0.7853 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.5485, allocations: 41.31 kB / 0.7853 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.194e-05/0.5486, allocations: 59.91 kB / 0.7853 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009421/0.5495, allocations: 0.6322 MB / 0.786 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5495, allocations: 0 / 0.786 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.5496, allocations: 20 kB / 0.786 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/0.5496, allocations: 25.3 kB / 0.786 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.5505, allocations: 0.5229 MB / 0.7865 GB, free: 13.77 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.002629/0.5531, allocations: 2.465 MB / 0.7889 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.5537, allocations: 375.7 kB / 0.7893 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.5541, allocations: 243.4 kB / 0.7895 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/0.5546, allocations: 311.5 kB / 0.7898 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5547, allocations: 34.89 kB / 0.7898 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.5547, allocations: 0 / 0.7898 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001256/0.556, allocations: 0.6122 MB / 0.7904 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.556, allocations: 59.34 kB / 0.7905 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.5565, allocations: 0.4911 MB / 0.791 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.5565, allocations: 37.7 kB / 0.791 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.5568, allocations: 324.5 kB / 0.7913 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.5569, allocations: 138 kB / 0.7915 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.557, allocations: 93.97 kB / 0.7915 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.5572, allocations: 370.8 kB / 0.7919 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.5575, allocations: 170.5 kB / 0.7921 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.5579, allocations: 288.3 kB / 0.7923 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.5586, allocations: 445 kB / 0.7928 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5586, allocations: 4 kB / 0.7928 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008598/0.5595, allocations: 0.5249 MB / 0.7933 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5595, allocations: 6.031 kB / 0.7933 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5595, allocations: 4 kB / 0.7933 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5595, allocations: 11.97 kB / 0.7933 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.5602, allocations: 137.6 kB / 0.7934 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003269/0.5606, allocations: 0.5937 MB / 0.794 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.5611, allocations: 51.64 kB / 0.7941 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.5611, allocations: 19.98 kB / 0.7941 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004853/0.5616, allocations: 344.9 kB / 0.7944 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003766/0.562, allocations: 296.3 kB / 0.7947 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006634/0.5627, allocations: 451.1 kB / 0.7951 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.5627, allocations: 4 kB / 0.7951 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008361/0.5636, allocations: 0.5238 MB / 0.7956 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.5636, allocations: 4.281 kB / 0.7956 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5636, allocations: 15.12 kB / 0.7957 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.5636, allocations: 4 kB / 0.7957 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.5641, allocations: 119.8 kB / 0.7958 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5641, allocations: 4.156 kB / 0.7958 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.5646, allocations: 39.67 kB / 0.7958 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.5646, allocations: 20 kB / 0.7958 GB, free: 3.703 MB / 0.6075 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.0001385/0.5648, allocations: 209.8 kB / 0.796 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.843e-05/0.5649, allocations: 59.28 kB / 0.7961 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008468/0.5657, allocations: 493 kB / 0.7966 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5657, allocations: 4 kB / 0.7966 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5657, allocations: 4 kB / 0.7966 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007494/0.5665, allocations: 0.6988 MB / 0.7973 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.5683, allocations: 1.292 MB / 0.7985 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5683, allocations: 0 / 0.7985 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.5689, allocations: 123.8 kB / 0.7986 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5689, allocations: 4 kB / 0.7986 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.5689, allocations: 8 kB / 0.7986 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002683/0.5692, allocations: 0.5983 MB / 0.7992 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5692, allocations: 4.031 kB / 0.7992 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.5704, allocations: 0.8257 MB / 0.8 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.5706, allocations: 180.3 kB / 0.8002 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.5707, allocations: 11.98 kB / 0.8002 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.5711, allocations: 31.09 kB / 0.8003 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.5712, allocations: 23.97 kB / 0.8003 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.5712, allocations: 15.98 kB / 0.8003 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003602/0.5716, allocations: 350.8 kB / 0.8006 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5716, allocations: 0 / 0.8006 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008419/0.5724, allocations: 359.1 kB / 0.801 GB, free: 14.2 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.001723/0.5742, allocations: 1.466 MB / 0.8024 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.5759, allocations: 0.7189 MB / 0.8031 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5759, allocations: 0 / 0.8031 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.5763, allocations: 220.8 kB / 0.8033 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.578, allocations: 363.5 kB / 0.8037 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/0.5846, allocations: 5.112 MB / 0.8087 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.5853, allocations: 0.9497 MB / 0.8096 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008079/0.5861, allocations: 204.9 kB / 0.8098 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.5865, allocations: 231.3 kB / 0.81 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of SimCode: time 8.32e-07/0.5865, allocations: 0 / 0.81 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3489/0.9354, allocations: 17.71 MB / 0.8273 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.57, allocations: 7.188 kB / 0.8273 GB, free: 3.305 MB / 0.6387 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/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)