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.001034/0.001035, allocations: 107.7 kB / 17.04 MB, free: 5.812 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.001095/0.001095, allocations: 195 kB / 17.98 MB, free: 5.027 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.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7289/0.7289, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.322, allocations: 76.14 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.187/0.509, allocations: 185 MB / 0.7383 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009447/0.5185, allocations: 6.964 MB / 0.7451 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006663/0.5192, allocations: 27.81 kB / 0.7451 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009917/0.5202, allocations: 405.5 kB / 0.7455 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.5233, allocations: 1.443 MB / 0.7469 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.5259, allocations: 1.164 MB / 0.748 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.2858/0.8117, allocations: 1.939 MB / 0.7499 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.813, allocations: 0.6549 MB / 0.7506 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.8149, allocations: 0.8249 MB / 0.7514 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.8165, allocations: 0.5923 MB / 0.752 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.8168, allocations: 68.84 kB / 0.752 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.8205, allocations: 1.925 MB / 0.7539 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000436/0.8209, allocations: 293.6 kB / 0.7542 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006052/0.8216, allocations: 429.8 kB / 0.7546 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.8246, allocations: 1.773 MB / 0.7563 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8247, allocations: 1.016 kB / 0.7563 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8247, allocations: 0.9688 kB / 0.7563 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.8247, allocations: 0.5 kB / 0.7563 GB, free: 3.352 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.00223/0.8269, allocations: 1.152 MB / 0.7574 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.827, allocations: 11.84 kB / 0.7575 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.8289, allocations: 280.1 kB / 0.7577 GB, free: 18.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.8302, allocations: 0.6073 MB / 0.7583 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/0.8302, allocations: 44.09 kB / 0.7584 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.8303, allocations: 53.75 kB / 0.7584 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.8317, allocations: 0.6347 MB / 0.759 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.8317, allocations: 2.5 kB / 0.759 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.8318, allocations: 23.38 kB / 0.7591 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.8318, allocations: 19.98 kB / 0.7591 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.8329, allocations: 0.5208 MB / 0.7596 GB, free: 18.28 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.003134/0.836, allocations: 2.462 MB / 0.762 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.8367, allocations: 356.9 kB / 0.7623 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.837, allocations: 239.9 kB / 0.7626 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.8376, allocations: 307.1 kB / 0.7628 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.8377, allocations: 38.8 kB / 0.7629 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.913e-06/0.8377, allocations: 2.172 kB / 0.7629 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.00133/0.839, allocations: 0.6177 MB / 0.7635 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.8391, allocations: 55.81 kB / 0.7635 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.8396, allocations: 0.4983 MB / 0.764 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.8397, allocations: 37.58 kB / 0.7641 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.8399, allocations: 324 kB / 0.7644 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.776e-05/0.84, allocations: 144.1 kB / 0.7645 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.8401, allocations: 83.45 kB / 0.7646 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8403, allocations: 365.5 kB / 0.7649 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.8406, allocations: 179.4 kB / 0.7651 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.841, allocations: 280.5 kB / 0.7654 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.8416, allocations: 455.1 kB / 0.7658 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8417, allocations: 0.9375 kB / 0.7658 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008876/0.8426, allocations: 0.5286 MB / 0.7663 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8426, allocations: 7.75 kB / 0.7663 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8426, allocations: 3.062 kB / 0.7663 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8426, allocations: 6.312 kB / 0.7663 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.8433, allocations: 130.8 kB / 0.7665 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003526/0.8437, allocations: 0.6012 MB / 0.7671 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.8442, allocations: 52.62 kB / 0.7671 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.8443, allocations: 18.5 kB / 0.7671 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005048/0.8448, allocations: 355.7 kB / 0.7675 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003699/0.8451, allocations: 284.5 kB / 0.7677 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006648/0.8458, allocations: 448.7 kB / 0.7682 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-06/0.8458, allocations: 2.875 kB / 0.7682 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008799/0.8467, allocations: 0.5239 MB / 0.7687 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.8467, allocations: 5.781 kB / 0.7687 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8468, allocations: 8.062 kB / 0.7687 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.8468, allocations: 6.828 kB / 0.7687 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.8473, allocations: 116.4 kB / 0.7688 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8473, allocations: 6.922 kB / 0.7688 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.8478, allocations: 41.62 kB / 0.7689 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.8478, allocations: 17.72 kB / 0.7689 GB, free: 14.5 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.0001785/0.848, allocations: 206.7 kB / 0.7691 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.8481, allocations: 66.09 kB / 0.7691 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009182/0.8491, allocations: 488.3 kB / 0.7696 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.8491, allocations: 11.23 kB / 0.7696 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8491, allocations: 0.8438 kB / 0.7696 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008081/0.8499, allocations: 0.7031 MB / 0.7703 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.8519, allocations: 1.286 MB / 0.7716 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.8519, allocations: 2.125 kB / 0.7716 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/0.8525, allocations: 123.6 kB / 0.7717 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.8525, allocations: 4.812 kB / 0.7717 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.8526, allocations: 10.94 kB / 0.7717 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003452/0.8529, allocations: 0.5961 MB / 0.7723 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8529, allocations: 3 kB / 0.7723 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.8541, allocations: 0.7955 MB / 0.7731 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.8544, allocations: 188.4 kB / 0.7732 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/0.8545, allocations: 11.44 kB / 0.7732 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.8549, allocations: 23.2 kB / 0.7733 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.855, allocations: 30.28 kB / 0.7733 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.855, allocations: 15.25 kB / 0.7733 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004089/0.8555, allocations: 352.8 kB / 0.7736 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8555, allocations: 0.875 kB / 0.7736 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001102/0.8566, allocations: 358.3 kB / 0.774 GB, free: 12.33 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.0004948/0.8571, allocations: 197.8 kB / 0.7742 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.8585, allocations: 0.6749 MB / 0.7748 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8585, allocations: 1.031 kB / 0.7748 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.8589, allocations: 224.6 kB / 0.775 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.8605, allocations: 370.9 kB / 0.7754 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.8624, allocations: 1.383 MB / 0.7768 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.8629, allocations: 0.9484 MB / 0.7777 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005732/0.8635, allocations: 206.8 kB / 0.7779 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.8636, allocations: 46.72 kB / 0.7779 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.8636, allocations: 0 / 0.7779 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.0176/0.8812, allocations: 12.4 MB / 0.79 GB, free: 10.23 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)