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.001229/0.001229, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001244/0.001244, 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8199/0.8199, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 78 kB / 0.5736 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1419, allocations: 78.86 MB / 0.6506 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.5427/0.6846, allocations: 185.1 MB / 0.8313 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.6958, allocations: 6.973 MB / 0.8381 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.6972, allocations: 28.03 kB / 0.8381 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.6984, allocations: 404.2 kB / 0.8385 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.7023, allocations: 1.446 MB / 0.8399 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.7054, allocations: 1.163 MB / 0.8411 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.7079, allocations: 1.931 MB / 0.843 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009459/0.7089, allocations: 0.662 MB / 0.8436 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.7111, allocations: 1.026 MB / 0.8446 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.7124, allocations: 0.5889 MB / 0.8452 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.7125, allocations: 68.31 kB / 0.8453 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.7161, allocations: 1.911 MB / 0.8471 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003653/0.7165, allocations: 304.2 kB / 0.8474 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005498/0.717, allocations: 430.8 kB / 0.8478 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.7203, allocations: 1.759 MB / 0.8495 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7203, allocations: 2.969 kB / 0.8495 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7203, allocations: 3.938 kB / 0.8495 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.7203, allocations: 0 / 0.8495 GB, free: 5.832 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.001963/0.7223, allocations: 1.187 MB / 0.8507 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.7224, allocations: 10.19 kB / 0.8507 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.7225, allocations: 98.7 kB / 0.8508 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.7243, allocations: 276.7 kB / 0.8511 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7254, allocations: 0.6116 MB / 0.8517 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.7254, allocations: 46.59 kB / 0.8517 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-05/0.7255, allocations: 51.28 kB / 0.8518 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.7266, allocations: 0.6385 MB / 0.8524 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.7266, allocations: 3.938 kB / 0.8524 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/0.7267, allocations: 24.92 kB / 0.8524 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.7267, allocations: 22.84 kB / 0.8524 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.7276, allocations: 0.5204 MB / 0.8529 GB, free: 3.473 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.003167/0.7308, allocations: 2.533 MB / 0.8554 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.7315, allocations: 363.5 kB / 0.8558 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.7319, allocations: 239.2 kB / 0.856 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005809/0.7325, allocations: 311.5 kB / 0.8563 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.7325, allocations: 38.89 kB / 0.8563 GB, free: 92 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.384e-06/0.7325, allocations: 0 / 0.8563 GB, free: 92 kB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001445/0.734, allocations: 0.616 MB / 0.8569 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.7341, allocations: 63.34 kB / 0.857 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.7347, allocations: 0.4912 MB / 0.8575 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.7347, allocations: 33.7 kB / 0.8575 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.735, allocations: 329 kB / 0.8578 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.7352, allocations: 146.7 kB / 0.858 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.7354, allocations: 90.12 kB / 0.858 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.7355, allocations: 366.8 kB / 0.8584 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.7359, allocations: 174.5 kB / 0.8586 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.7364, allocations: 283.3 kB / 0.8588 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.7372, allocations: 464 kB / 0.8593 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7372, allocations: 0 / 0.8593 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009999/0.7382, allocations: 0.5206 MB / 0.8598 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.7382, allocations: 8 kB / 0.8598 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7382, allocations: 4 kB / 0.8598 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.7383, allocations: 7.984 kB / 0.8598 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.739, allocations: 127.8 kB / 0.8599 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004313/0.7394, allocations: 0.6016 MB / 0.8605 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.74, allocations: 48.59 kB / 0.8605 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.74, allocations: 20 kB / 0.8606 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005878/0.7406, allocations: 352.8 kB / 0.8609 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004255/0.7411, allocations: 283.5 kB / 0.8612 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007353/0.7418, allocations: 448.6 kB / 0.8616 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.7418, allocations: 0 / 0.8616 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009654/0.7428, allocations: 0.5282 MB / 0.8621 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7428, allocations: 15.88 kB / 0.8621 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7429, allocations: 3.984 kB / 0.8621 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.7429, allocations: 11.94 kB / 0.8621 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.7434, allocations: 117.6 kB / 0.8623 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7434, allocations: 4 kB / 0.8623 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.7439, allocations: 43.77 kB / 0.8623 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.744, allocations: 20 kB / 0.8623 GB, free: 9.699 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.0001924/0.7441, allocations: 208.4 kB / 0.8625 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.7443, allocations: 67.56 kB / 0.8626 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009671/0.7452, allocations: 484.2 kB / 0.8631 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.7453, allocations: 4 kB / 0.8631 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7453, allocations: 1 kB / 0.8631 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008793/0.7462, allocations: 0.7066 MB / 0.8637 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.7483, allocations: 1.284 MB / 0.865 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7483, allocations: 4 kB / 0.865 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/0.749, allocations: 128.8 kB / 0.8651 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.749, allocations: 4 kB / 0.8651 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.749, allocations: 12 kB / 0.8651 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003888/0.7494, allocations: 0.5899 MB / 0.8657 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7494, allocations: 0 / 0.8657 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.7507, allocations: 0.8104 MB / 0.8665 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.751, allocations: 184.6 kB / 0.8667 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.7511, allocations: 16.12 kB / 0.8667 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.7515, allocations: 19.98 kB / 0.8667 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.7516, allocations: 27.91 kB / 0.8667 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.7517, allocations: 27.92 kB / 0.8668 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004314/0.7521, allocations: 346.8 kB / 0.8671 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7521, allocations: 0 / 0.8671 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00102/0.7531, allocations: 371.3 kB / 0.8675 GB, free: 4.191 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.002009/0.7552, allocations: 1.447 MB / 0.8689 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.7567, allocations: 0.6657 MB / 0.8695 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7567, allocations: 0 / 0.8695 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.7572, allocations: 219.8 kB / 0.8697 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.7589, allocations: 353.3 kB / 0.8701 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.7664, allocations: 5.04 MB / 0.875 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.7671, allocations: 0.9534 MB / 0.8759 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007148/0.7678, allocations: 204.9 kB / 0.8761 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.7681, allocations: 227.4 kB / 0.8763 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of SimCode: time 8.51e-07/0.7682, allocations: 0 / 0.8763 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/0.8211, allocations: 17.86 MB / 0.8938 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.33, allocations: 18.73 kB / 0.8938 GB, free: 9.25 MB / 0.6544 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)