Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_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.001211/0.001211, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001252/0.001252, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7339/0.7339, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.94 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1453, allocations: 77.94 MB / 0.6441 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.5224/0.6678, allocations: 185 MB / 0.8248 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009424/0.6772, allocations: 6.992 MB / 0.8316 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.6784, allocations: 26 kB / 0.8316 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.6795, allocations: 415.6 kB / 0.832 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.6831, allocations: 1.502 MB / 0.8335 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.686, allocations: 1.178 MB / 0.8346 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.6883, allocations: 1.954 MB / 0.8365 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008215/0.6891, allocations: 0.6546 MB / 0.8372 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.6905, allocations: 0.8452 MB / 0.838 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.6917, allocations: 0.6071 MB / 0.8386 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.504e-05/0.6918, allocations: 65.72 kB / 0.8386 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.6953, allocations: 1.935 MB / 0.8405 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.6956, allocations: 289.9 kB / 0.8408 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.696, allocations: 437.1 kB / 0.8412 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.6988, allocations: 1.764 MB / 0.843 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6988, allocations: 0 / 0.843 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6989, allocations: 0 / 0.843 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.6989, allocations: 0 / 0.843 GB, free: 13.52 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.001836/0.7007, allocations: 1.197 MB / 0.8441 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7008, allocations: 14.7 kB / 0.8441 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.7009, allocations: 96.22 kB / 0.8442 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.7028, allocations: 276.9 kB / 0.8445 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.7038, allocations: 0.6157 MB / 0.8451 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.7039, allocations: 40.22 kB / 0.8451 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-05/0.704, allocations: 59.2 kB / 0.8452 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.705, allocations: 0.6321 MB / 0.8458 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.705, allocations: 7.875 kB / 0.8458 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.7051, allocations: 20.84 kB / 0.8458 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.7051, allocations: 18.72 kB / 0.8459 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008518/0.706, allocations: 0.5192 MB / 0.8464 GB, free: 11.14 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.002907/0.7089, allocations: 2.467 MB / 0.8488 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.7095, allocations: 366.6 kB / 0.8491 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.7099, allocations: 236.1 kB / 0.8493 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005411/0.7104, allocations: 304.8 kB / 0.8496 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.7105, allocations: 37.77 kB / 0.8497 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.783e-06/0.7105, allocations: 0 / 0.8497 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001294/0.7118, allocations: 0.6207 MB / 0.8503 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.7118, allocations: 56.19 kB / 0.8503 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.7123, allocations: 0.496 MB / 0.8508 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.7124, allocations: 38.73 kB / 0.8509 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.7126, allocations: 328.3 kB / 0.8512 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.7127, allocations: 148.1 kB / 0.8513 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.7129, allocations: 92.11 kB / 0.8514 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.713, allocations: 365.7 kB / 0.8517 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.7133, allocations: 175.8 kB / 0.8519 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.7137, allocations: 282.9 kB / 0.8522 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.7144, allocations: 452 kB / 0.8526 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7144, allocations: 0 / 0.8526 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008904/0.7153, allocations: 0.532 MB / 0.8531 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.7153, allocations: 9.719 kB / 0.8531 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7154, allocations: 0 / 0.8531 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.7154, allocations: 4 kB / 0.8531 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.7161, allocations: 136.9 kB / 0.8533 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003757/0.7165, allocations: 0.5977 MB / 0.8539 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.717, allocations: 55.64 kB / 0.8539 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.7171, allocations: 15.94 kB / 0.8539 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005162/0.7176, allocations: 357 kB / 0.8543 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003821/0.718, allocations: 283.3 kB / 0.8545 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006717/0.7187, allocations: 449.1 kB / 0.855 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.7187, allocations: 0 / 0.855 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008489/0.7196, allocations: 0.517 MB / 0.8555 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.7196, allocations: 12.06 kB / 0.8555 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.7196, allocations: 0 / 0.8555 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.7196, allocations: 11.88 kB / 0.8555 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.7201, allocations: 115.9 kB / 0.8556 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.7201, allocations: 5.562 kB / 0.8556 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.7206, allocations: 39.83 kB / 0.8556 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.7207, allocations: 21.11 kB / 0.8557 GB, free: 2.738 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.0001534/0.7208, allocations: 215.6 kB / 0.8559 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.7209, allocations: 67.56 kB / 0.8559 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/0.7218, allocations: 484 kB / 0.8564 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.7218, allocations: 4 kB / 0.8564 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7218, allocations: 3.938 kB / 0.8564 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007794/0.7226, allocations: 0.7107 MB / 0.8571 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.7245, allocations: 1.292 MB / 0.8584 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.7245, allocations: 4 kB / 0.8584 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.7252, allocations: 119.8 kB / 0.8585 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.7252, allocations: 4 kB / 0.8585 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.7252, allocations: 12 kB / 0.8585 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002884/0.7255, allocations: 0.5978 MB / 0.8591 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7255, allocations: 4.031 kB / 0.8591 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.7266, allocations: 0.7904 MB / 0.8599 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.7269, allocations: 188.7 kB / 0.86 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.727, allocations: 11.94 kB / 0.86 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.7275, allocations: 27.97 kB / 0.8601 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.7276, allocations: 31.89 kB / 0.8601 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.7276, allocations: 16 kB / 0.8601 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004332/0.728, allocations: 350.8 kB / 0.8605 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7281, allocations: 3.938 kB / 0.8605 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00101/0.7291, allocations: 363.3 kB / 0.8608 GB, free: 13.23 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.001772/0.7308, allocations: 1.45 MB / 0.8622 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.7323, allocations: 0.6761 MB / 0.8629 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7323, allocations: 0 / 0.8629 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.7327, allocations: 213.3 kB / 0.8631 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.7344, allocations: 363.7 kB / 0.8634 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006497/0.7409, allocations: 5.039 MB / 0.8684 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.7415, allocations: 0.9457 MB / 0.8693 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006975/0.7422, allocations: 200.9 kB / 0.8695 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.7425, allocations: 227.4 kB / 0.8697 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.7425, allocations: 0 / 0.8697 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04557/0.7881, allocations: 17.86 MB / 0.8871 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.67, allocations: 7.688 kB / 0.8871 GB, free: 2.289 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)