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.001162/0.001162, allocations: 117 kB / 17.09 MB, free: 5.938 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.001272/0.001272, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.408/1.408, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7295/0.7295, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.45 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2069, allocations: 76.18 MB / 0.6327 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.6754/0.8824, allocations: 185 MB / 0.8134 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00944/0.8919, allocations: 6.977 MB / 0.8202 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.8934, allocations: 31.66 kB / 0.8203 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.8946, allocations: 394.1 kB / 0.8207 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.8988, allocations: 1.45 MB / 0.8221 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.9022, allocations: 1.159 MB / 0.8232 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.905, allocations: 1.951 MB / 0.8251 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.9062, allocations: 0.66 MB / 0.8258 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.9082, allocations: 0.8338 MB / 0.8266 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.9098, allocations: 0.5982 MB / 0.8271 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.9101, allocations: 70.61 kB / 0.8272 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00432/0.9144, allocations: 1.932 MB / 0.8291 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005338/0.915, allocations: 295.1 kB / 0.8294 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.916, allocations: 426 kB / 0.8298 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.9205, allocations: 1.767 MB / 0.8315 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.9206, allocations: 0 / 0.8315 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9206, allocations: 0 / 0.8315 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.311e-05/0.9206, allocations: 0 / 0.8315 GB, free: 3.41 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.002914/0.9235, allocations: 1.166 MB / 0.8327 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.9236, allocations: 14 kB / 0.8327 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.9257, allocations: 269.8 kB / 0.8329 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.927, allocations: 0.609 MB / 0.8335 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.927, allocations: 42.16 kB / 0.8336 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.9272, allocations: 53.81 kB / 0.8336 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.9283, allocations: 0.6337 MB / 0.8342 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.9284, allocations: 0 / 0.8342 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.9284, allocations: 29.28 kB / 0.8343 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.9285, allocations: 23.11 kB / 0.8343 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009362/0.9294, allocations: 0.5149 MB / 0.8348 GB, free: 1.191 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.003505/0.9329, allocations: 2.455 MB / 0.8372 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.9336, allocations: 365.8 kB / 0.8375 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.934, allocations: 242.6 kB / 0.8378 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006023/0.9347, allocations: 308.3 kB / 0.8381 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.9347, allocations: 37.7 kB / 0.8381 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.705e-06/0.9347, allocations: 0 / 0.8381 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001537/0.9363, allocations: 0.614 MB / 0.8387 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.9363, allocations: 64.33 kB / 0.8388 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006703/0.937, allocations: 499.1 kB / 0.8392 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.9371, allocations: 35.39 kB / 0.8393 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.9373, allocations: 329.7 kB / 0.8396 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.9375, allocations: 141 kB / 0.8397 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.9377, allocations: 87.91 kB / 0.8398 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9378, allocations: 370.4 kB / 0.8401 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.9382, allocations: 177.2 kB / 0.8403 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.9386, allocations: 284 kB / 0.8406 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.9393, allocations: 455.7 kB / 0.841 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9393, allocations: 2.281 kB / 0.841 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009851/0.9403, allocations: 0.5185 MB / 0.8415 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.9403, allocations: 9.188 kB / 0.8415 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.9403, allocations: 2.562 kB / 0.8415 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.9404, allocations: 4.75 kB / 0.8415 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.9411, allocations: 135.5 kB / 0.8417 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000419/0.9415, allocations: 0.6025 MB / 0.8423 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.9421, allocations: 50.77 kB / 0.8423 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.9422, allocations: 19.5 kB / 0.8423 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000547/0.9427, allocations: 349.2 kB / 0.8427 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003976/0.9431, allocations: 282.2 kB / 0.8429 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006778/0.9438, allocations: 446.1 kB / 0.8434 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.9438, allocations: 2.562 kB / 0.8434 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009216/0.9448, allocations: 0.5244 MB / 0.8439 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.9448, allocations: 5.75 kB / 0.8439 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.9448, allocations: 5.031 kB / 0.8439 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.9448, allocations: 5.75 kB / 0.8439 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.9453, allocations: 124.6 kB / 0.844 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.9453, allocations: 6.453 kB / 0.844 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.9459, allocations: 45.52 kB / 0.8441 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.946, allocations: 16.88 kB / 0.8441 GB, free: 10.27 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.0002047/0.9462, allocations: 206.8 kB / 0.8443 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.9463, allocations: 59.69 kB / 0.8443 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000905/0.9472, allocations: 498.8 kB / 0.8448 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.9473, allocations: 4.844 kB / 0.8448 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.9473, allocations: 0 / 0.8448 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008115/0.9481, allocations: 0.7013 MB / 0.8455 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.9503, allocations: 1.281 MB / 0.8467 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.9503, allocations: 4.875 kB / 0.8467 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/0.9509, allocations: 124 kB / 0.8469 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.9509, allocations: 4 kB / 0.8469 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.951, allocations: 12.11 kB / 0.8469 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003656/0.9513, allocations: 0.6015 MB / 0.8475 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.9514, allocations: 4.031 kB / 0.8475 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.9527, allocations: 0.8064 MB / 0.8483 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.953, allocations: 172.4 kB / 0.8484 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.9531, allocations: 19.92 kB / 0.8484 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.9536, allocations: 18.05 kB / 0.8485 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.9537, allocations: 31.91 kB / 0.8485 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.9537, allocations: 12 kB / 0.8485 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004617/0.9542, allocations: 358.8 kB / 0.8488 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9542, allocations: 0 / 0.8488 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001152/0.9554, allocations: 363.1 kB / 0.8492 GB, free: 5.59 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.0005855/0.956, allocations: 209.5 kB / 0.8494 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.9576, allocations: 0.6672 MB / 0.85 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9576, allocations: 1.125 kB / 0.85 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.958, allocations: 228 kB / 0.8503 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.9598, allocations: 358.3 kB / 0.8506 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.9625, allocations: 1.428 MB / 0.852 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.9631, allocations: 0.9535 MB / 0.8529 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.9633, allocations: 47.44 kB / 0.853 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/0.9633, allocations: 0 / 0.853 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of Templates: time 0.01949/0.9828, allocations: 13.02 MB / 0.8657 GB, free: 4.707 MB / 0.6231 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)