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.00504/0.00504, allocations: 100.8 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.001303/0.001303, allocations: 193.9 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8108/0.8108, allocations: 135.6 MB / 426.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 73.19 kB / 0.5858 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1397, allocations: 81.02 MB / 0.6649 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5121/0.6518, allocations: 185 MB / 0.8456 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.6641, allocations: 6.977 MB / 0.8524 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.6653, allocations: 28.03 kB / 0.8524 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.6669, allocations: 404.5 kB / 0.8528 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00518/0.6721, allocations: 1.442 MB / 0.8542 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00419/0.6763, allocations: 1.165 MB / 0.8553 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.6794, allocations: 1.94 MB / 0.8572 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.6806, allocations: 0.6659 MB / 0.8579 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.682, allocations: 0.8295 MB / 0.8587 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.683, allocations: 0.5912 MB / 0.8593 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.6832, allocations: 67.62 kB / 0.8593 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.6864, allocations: 1.924 MB / 0.8612 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.6867, allocations: 295.1 kB / 0.8615 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.6872, allocations: 434.1 kB / 0.8619 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.6896, allocations: 1.774 MB / 0.8636 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6896, allocations: 0 / 0.8636 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6896, allocations: 4 kB / 0.8636 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.6896, allocations: 0 / 0.8636 GB, free: 2.988 MB / 0.6231 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.001735/0.6914, allocations: 1.19 MB / 0.8648 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6914, allocations: 13.11 kB / 0.8648 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.6916, allocations: 90.52 kB / 0.8649 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.6933, allocations: 287.1 kB / 0.8652 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009415/0.6943, allocations: 0.6149 MB / 0.8658 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.6943, allocations: 44.25 kB / 0.8658 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.6944, allocations: 59.94 kB / 0.8659 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.6955, allocations: 0.6285 MB / 0.8665 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.6956, allocations: 0 / 0.8665 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.6956, allocations: 31.94 kB / 0.8665 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.6957, allocations: 17.31 kB / 0.8665 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009824/0.6967, allocations: 0.5165 MB / 0.867 GB, free: 15.38 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.003023/0.6997, allocations: 2.462 MB / 0.8694 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.7003, allocations: 375.7 kB / 0.8698 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.7008, allocations: 241.3 kB / 0.87 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005652/0.7013, allocations: 299.6 kB / 0.8703 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.7014, allocations: 46.83 kB / 0.8704 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 3.276e-06/0.7014, allocations: 3.984 kB / 0.8704 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001348/0.7027, allocations: 0.616 MB / 0.871 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.7028, allocations: 55.41 kB / 0.871 GB, free: 11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.7034, allocations: 0.4951 MB / 0.8715 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.7034, allocations: 33.7 kB / 0.8715 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.7037, allocations: 329 kB / 0.8719 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.7038, allocations: 150.7 kB / 0.872 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.7039, allocations: 86.08 kB / 0.8721 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.7041, allocations: 366.8 kB / 0.8724 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.7045, allocations: 178.4 kB / 0.8726 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.7049, allocations: 284.3 kB / 0.8729 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.7057, allocations: 456.2 kB / 0.8733 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7057, allocations: 4 kB / 0.8733 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009148/0.7066, allocations: 0.5204 MB / 0.8738 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7066, allocations: 8.219 kB / 0.8738 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.7066, allocations: 8 kB / 0.8738 GB, free: 8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7067, allocations: 7.938 kB / 0.8738 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.7073, allocations: 127.8 kB / 0.874 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003866/0.7077, allocations: 0.5899 MB / 0.8745 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.7082, allocations: 63.72 kB / 0.8746 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.7083, allocations: 16 kB / 0.8746 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000526/0.7088, allocations: 348.9 kB / 0.8749 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004183/0.7092, allocations: 290.8 kB / 0.8752 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007059/0.71, allocations: 448.5 kB / 0.8757 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/0.71, allocations: 7.938 kB / 0.8757 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008861/0.7109, allocations: 0.532 MB / 0.8762 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.7109, allocations: 5.875 kB / 0.8762 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.7109, allocations: 5 kB / 0.8762 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.7109, allocations: 4 kB / 0.8762 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.7114, allocations: 120.1 kB / 0.8763 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7114, allocations: 7.938 kB / 0.8763 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.7119, allocations: 43.73 kB / 0.8764 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.7119, allocations: 20 kB / 0.8764 GB, free: 5.289 MB / 0.6387 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.0001566/0.7121, allocations: 208.5 kB / 0.8766 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.981e-05/0.7122, allocations: 59.62 kB / 0.8766 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/0.7131, allocations: 490.4 kB / 0.8771 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.7131, allocations: 4 kB / 0.8771 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7131, allocations: 4 kB / 0.8771 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008282/0.7139, allocations: 0.6988 MB / 0.8778 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.7158, allocations: 1.282 MB / 0.879 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7158, allocations: 0 / 0.879 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/0.7165, allocations: 128.1 kB / 0.8792 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.7165, allocations: 4 kB / 0.8792 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.7166, allocations: 15.98 kB / 0.8792 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003936/0.717, allocations: 0.5898 MB / 0.8798 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.717, allocations: 4.031 kB / 0.8798 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.7188, allocations: 0.8337 MB / 0.8806 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.7191, allocations: 184.6 kB / 0.8808 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.7192, allocations: 12 kB / 0.8808 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005296/0.7197, allocations: 26.34 kB / 0.8808 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.7198, allocations: 27.95 kB / 0.8808 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.7199, allocations: 16 kB / 0.8808 GB, free: 488 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004033/0.7203, allocations: 354.8 kB / 0.8812 GB, free: 136 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7203, allocations: 0 / 0.8812 GB, free: 136 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009343/0.7212, allocations: 367.3 kB / 0.8815 GB, free: 15.77 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.001912/0.7231, allocations: 1.469 MB / 0.883 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.7246, allocations: 0.667 MB / 0.8836 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7246, allocations: 4.062 kB / 0.8836 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.7251, allocations: 219.7 kB / 0.8838 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.7266, allocations: 365.2 kB / 0.8842 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006988/0.7336, allocations: 5.014 MB / 0.8891 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.7343, allocations: 0.9458 MB / 0.89 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006075/0.7349, allocations: 208.9 kB / 0.8902 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.7352, allocations: 227.4 kB / 0.8904 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of SimCode: time 4.3e-07/0.7352, allocations: 0 / 0.8904 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.982/2.717, allocations: 17.9 MB / 0.9079 GB, free: 4.801 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.95/20.67, allocations: 9.5 kB / 0.9079 GB, free: 4.793 MB / 0.67 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)