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.001099/0.001099, allocations: 103 kB / 16.4 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.001154/0.001154, allocations: 197.3 kB / 17.34 MB, free: 5.766 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6979/0.6979, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 68.14 kB / 0.5572 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.144, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.5232/0.6672, allocations: 185 MB / 0.8123 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009148/0.6764, allocations: 6.969 MB / 0.8191 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.6777, allocations: 25.84 kB / 0.8191 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.679, allocations: 408.4 kB / 0.8195 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003859/0.6829, allocations: 1.441 MB / 0.8209 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.686, allocations: 1.167 MB / 0.8221 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.6885, allocations: 1.95 MB / 0.824 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.6896, allocations: 0.6569 MB / 0.8246 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.6914, allocations: 0.8326 MB / 0.8254 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.6928, allocations: 0.604 MB / 0.826 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.693, allocations: 67.41 kB / 0.8261 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.6967, allocations: 1.923 MB / 0.828 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004456/0.6972, allocations: 301.1 kB / 0.8282 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008853/0.6981, allocations: 428.3 kB / 0.8286 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00388/0.702, allocations: 1.762 MB / 0.8304 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.702, allocations: 2.469 kB / 0.8304 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.702, allocations: 0 / 0.8304 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.376e-05/0.7021, allocations: 4 kB / 0.8304 GB, free: 3.355 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.002396/0.7045, allocations: 1.165 MB / 0.8315 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.7045, allocations: 7.375 kB / 0.8315 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.7047, allocations: 102.8 kB / 0.8316 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.7067, allocations: 270.6 kB / 0.8319 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.7078, allocations: 0.6083 MB / 0.8325 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.7079, allocations: 39.88 kB / 0.8325 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.708, allocations: 55.19 kB / 0.8326 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.7091, allocations: 0.637 MB / 0.8332 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.7091, allocations: 3.938 kB / 0.8332 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.7092, allocations: 23.47 kB / 0.8332 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.7092, allocations: 20.59 kB / 0.8332 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/0.7101, allocations: 0.5173 MB / 0.8337 GB, free: 1.055 MB / 0.5919 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.003144/0.7133, allocations: 2.46 MB / 0.8361 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.7139, allocations: 359.4 kB / 0.8365 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.7143, allocations: 243.4 kB / 0.8367 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005395/0.7148, allocations: 305.7 kB / 0.837 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.7149, allocations: 37.09 kB / 0.837 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 3.125e-06/0.7149, allocations: 0 / 0.837 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001332/0.7162, allocations: 0.6252 MB / 0.8376 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.7163, allocations: 54.31 kB / 0.8377 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.7168, allocations: 0.4906 MB / 0.8382 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.7169, allocations: 35.92 kB / 0.8382 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.7171, allocations: 333.6 kB / 0.8385 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.7172, allocations: 139 kB / 0.8387 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.7174, allocations: 87.8 kB / 0.8387 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7175, allocations: 367.3 kB / 0.8391 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.7178, allocations: 179.1 kB / 0.8393 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.7182, allocations: 283.6 kB / 0.8395 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006482/0.7189, allocations: 450.2 kB / 0.84 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7189, allocations: 0 / 0.84 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009492/0.7198, allocations: 0.526 MB / 0.8405 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.7199, allocations: 8.469 kB / 0.8405 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.7199, allocations: 6.062 kB / 0.8405 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.7199, allocations: 4.719 kB / 0.8405 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.7206, allocations: 135 kB / 0.8406 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003873/0.721, allocations: 0.599 MB / 0.8412 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.7216, allocations: 57.31 kB / 0.8413 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.7217, allocations: 16.94 kB / 0.8413 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000517/0.7222, allocations: 351.6 kB / 0.8416 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003772/0.7226, allocations: 279.7 kB / 0.8419 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006502/0.7232, allocations: 452.6 kB / 0.8423 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.7233, allocations: 0 / 0.8423 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008873/0.7242, allocations: 0.5249 MB / 0.8428 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.7242, allocations: 6.75 kB / 0.8428 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.7242, allocations: 2.906 kB / 0.8428 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.7242, allocations: 6.719 kB / 0.8428 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.7247, allocations: 115.3 kB / 0.843 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.7247, allocations: 5.531 kB / 0.843 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.7252, allocations: 40.55 kB / 0.843 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.7253, allocations: 22.92 kB / 0.843 GB, free: 10.14 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.000171/0.7254, allocations: 203.9 kB / 0.8432 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.7256, allocations: 64.97 kB / 0.8433 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/0.7265, allocations: 492.2 kB / 0.8437 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.7265, allocations: 5.25 kB / 0.8438 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7265, allocations: 4.875 kB / 0.8438 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007221/0.7272, allocations: 0.6981 MB / 0.8444 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.7292, allocations: 1.286 MB / 0.8457 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7292, allocations: 0 / 0.8457 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.7298, allocations: 129.2 kB / 0.8458 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.7298, allocations: 4 kB / 0.8458 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.7299, allocations: 12.22 kB / 0.8458 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003003/0.7302, allocations: 0.5938 MB / 0.8464 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.7302, allocations: 4.125 kB / 0.8464 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.7313, allocations: 0.7948 MB / 0.8472 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.7317, allocations: 184.4 kB / 0.8474 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7318, allocations: 11.94 kB / 0.8474 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.7322, allocations: 19.98 kB / 0.8474 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.7323, allocations: 31.89 kB / 0.8474 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.7323, allocations: 16 kB / 0.8474 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003996/0.7327, allocations: 350.8 kB / 0.8478 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7328, allocations: 0 / 0.8478 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001029/0.7338, allocations: 363.1 kB / 0.8481 GB, free: 5.312 MB / 0.6075 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.001783/0.7356, allocations: 1.443 MB / 0.8495 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.7371, allocations: 0.6689 MB / 0.8502 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7371, allocations: 1.125 kB / 0.8502 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.7375, allocations: 224.1 kB / 0.8504 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.7392, allocations: 359.4 kB / 0.8507 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/0.7464, allocations: 5.03 MB / 0.8557 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.7469, allocations: 0.9457 MB / 0.8566 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007146/0.7477, allocations: 208.9 kB / 0.8568 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.748, allocations: 227.4 kB / 0.857 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.748, allocations: 0 / 0.857 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04271/0.7908, allocations: 18.13 MB / 0.8747 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.75, allocations: 16.69 kB / 0.8747 GB, free: 10.14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)