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: translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 94.12 kB / 16.67 MB, free: 6.594 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.001145/0.001145, allocations: 183.8 kB / 17.58 MB, free: 6.188 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.343/1.343, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7051/0.7051, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4067, allocations: 77.52 MB / 0.5606 GB, free: 36.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.1969/0.6037, allocations: 180.4 MB / 0.7367 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.6141, allocations: 6.969 MB / 0.7435 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.6153, allocations: 27.81 kB / 0.7436 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.6165, allocations: 334.2 kB / 0.7439 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003762/0.6203, allocations: 1.366 MB / 0.7452 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.6233, allocations: 1.049 MB / 0.7462 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003418/0.6268, allocations: 2.721 MB / 0.7489 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009451/0.6277, allocations: 0.5395 MB / 0.7494 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.6294, allocations: 0.704 MB / 0.7501 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.6309, allocations: 0.6053 MB / 0.7507 GB, free: 72 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.631, allocations: 32 kB / 0.7507 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3685/0.9995, allocations: 2.178 MB / 0.7529 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000564/1, allocations: 246.6 kB / 0.7531 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007414/1.001, allocations: 406.8 kB / 0.7535 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/1.004, allocations: 1.263 MB / 0.7547 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.004, allocations: 1.125 kB / 0.7547 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/1.004, allocations: 0.5156 kB / 0.7547 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.38e-05/1.004, allocations: 1.219 kB / 0.7547 GB, free: 4.555 MB / 0.5762 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.00209/1.006, allocations: 1.018 MB / 0.7557 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.006, allocations: 13.38 kB / 0.7557 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/1.008, allocations: 269.8 kB / 0.756 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/1.009, allocations: 0.578 MB / 0.7566 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/1.009, allocations: 46.08 kB / 0.7566 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.009, allocations: 56.62 kB / 0.7566 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/1.01, allocations: 0.6414 MB / 0.7573 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/1.01, allocations: 0.625 kB / 0.7573 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/1.01, allocations: 21.47 kB / 0.7573 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/1.011, allocations: 19.61 kB / 0.7573 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/1.012, allocations: 0.5349 MB / 0.7578 GB, free: 3.516 MB / 0.5762 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.003665/1.015, allocations: 2.462 MB / 0.7602 GB, free: 18.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/1.016, allocations: 373.2 kB / 0.7606 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/1.017, allocations: 240.1 kB / 0.7608 GB, free: 18.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/1.017, allocations: 319.5 kB / 0.7611 GB, free: 17.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.017, allocations: 39.2 kB / 0.7612 GB, free: 17.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.405e-06/1.017, allocations: 0 / 0.7612 GB, free: 17.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.00156/1.019, allocations: 0.6353 MB / 0.7618 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/1.019, allocations: 56.28 kB / 0.7618 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/1.02, allocations: 0.5015 MB / 0.7623 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/1.02, allocations: 31.92 kB / 0.7624 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/1.02, allocations: 329 kB / 0.7627 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.02, allocations: 137.4 kB / 0.7628 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/1.02, allocations: 43.28 kB / 0.7628 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.02, allocations: 365.9 kB / 0.7632 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/1.021, allocations: 174.6 kB / 0.7634 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/1.021, allocations: 287 kB / 0.7636 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/1.022, allocations: 467 kB / 0.7641 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.022, allocations: 0.8438 kB / 0.7641 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001019/1.023, allocations: 0.5349 MB / 0.7646 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.988e-05/1.023, allocations: 152.7 kB / 0.7648 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.023, allocations: 10.56 kB / 0.7648 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/1.023, allocations: 4 kB / 0.7648 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/1.024, allocations: 143.3 kB / 0.7649 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003852/1.024, allocations: 0.5946 MB / 0.7655 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/1.025, allocations: 83.88 kB / 0.7656 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/1.025, allocations: 24.36 kB / 0.7656 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/1.025, allocations: 3.969 kB / 0.7656 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000861/1.026, allocations: 465.2 kB / 0.766 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.026, allocations: 2.656 kB / 0.766 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/1.026, allocations: 8.406 kB / 0.766 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/1.027, allocations: 135.7 kB / 0.7662 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/1.027, allocations: 13.3 kB / 0.7662 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/1.027, allocations: 77.41 kB / 0.7663 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/1.027, allocations: 18.53 kB / 0.7663 GB, free: 15.84 MB / 0.5919 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.0004321/1.028, allocations: 309.5 kB / 0.7666 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/1.028, allocations: 55.88 kB / 0.7666 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009257/1.029, allocations: 498.5 kB / 0.7671 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.029, allocations: 4.281 kB / 0.7671 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.029, allocations: 4 kB / 0.7671 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008247/1.03, allocations: 0.7136 MB / 0.7678 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.032, allocations: 1.297 MB / 0.7691 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.032, allocations: 5.781 kB / 0.7691 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/1.032, allocations: 131.2 kB / 0.7692 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.032, allocations: 3.438 kB / 0.7692 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/1.032, allocations: 14.44 kB / 0.7692 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003128/1.033, allocations: 0.5978 MB / 0.7698 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.033, allocations: 2.25 kB / 0.7698 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.034, allocations: 0.8142 MB / 0.7706 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/1.034, allocations: 179.8 kB / 0.7708 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/1.034, allocations: 14.5 kB / 0.7708 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/1.035, allocations: 51.23 kB / 0.7708 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/1.035, allocations: 33.89 kB / 0.7709 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/1.035, allocations: 14.69 kB / 0.7709 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004695/1.036, allocations: 352.6 kB / 0.7712 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/1.036, allocations: 0 / 0.7712 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001283/1.037, allocations: 366.3 kB / 0.7716 GB, free: 13.64 MB / 0.5919 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.0005292/1.037, allocations: 193.2 kB / 0.7718 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001547/1.039, allocations: 0.6846 MB / 0.7724 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.039, allocations: 5.156 kB / 0.7724 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004343/1.039, allocations: 230.4 kB / 0.7726 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/1.041, allocations: 370.2 kB / 0.773 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/1.044, allocations: 1.792 MB / 0.7747 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/1.044, allocations: 0.9446 MB / 0.7757 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/1.045, allocations: 53.12 kB / 0.7757 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/1.045, allocations: 0 / 0.7757 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of Templates: time 0.01981/1.064, allocations: 12.92 MB / 0.7883 GB, free: 10.47 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)