Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 120.8 kB / 17.09 MB, free: 6 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.001084/0.001084, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7773/0.7773, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 69.52 kB / 0.5584 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.189, allocations: 76.18 MB / 0.6328 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.723/0.9121, allocations: 198 MB / 0.8261 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.9264, allocations: 10.91 MB / 0.8367 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.9287, allocations: 44.94 kB / 0.8368 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.9309, allocations: 0.5206 MB / 0.8373 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005701/0.9367, allocations: 1.797 MB / 0.839 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.9405, allocations: 1.163 MB / 0.8402 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00545/0.946, allocations: 2.777 MB / 0.8429 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.9484, allocations: 1.198 MB / 0.8441 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005078/0.9535, allocations: 1.63 MB / 0.8456 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.9556, allocations: 0.9563 MB / 0.8466 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005253/0.9561, allocations: 126.4 kB / 0.8467 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.9603, allocations: 1.718 MB / 0.8484 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009422/0.9612, allocations: 0.5171 MB / 0.8489 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.963, allocations: 0.7152 MB / 0.8496 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005415/0.9685, allocations: 2.36 MB / 0.8519 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9685, allocations: 0 / 0.8519 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9685, allocations: 0 / 0.8519 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.993e-05/0.9686, allocations: 0 / 0.8519 GB, free: 11.57 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004226/0.9729, allocations: 1.698 MB / 0.8535 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.9729, allocations: 12.03 kB / 0.8536 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.9751, allocations: 331.3 kB / 0.8539 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.9772, allocations: 0.9093 MB / 0.8548 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.9773, allocations: 85.98 kB / 0.8548 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.9776, allocations: 100 kB / 0.8549 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.9796, allocations: 1.175 MB / 0.8561 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.9797, allocations: 0 / 0.8561 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/0.9798, allocations: 44.69 kB / 0.8561 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/0.9798, allocations: 34 kB / 0.8562 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.9813, allocations: 0.9407 MB / 0.8571 GB, free: 6.539 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.005674/0.987, allocations: 4.717 MB / 0.8617 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.9882, allocations: 0.7316 MB / 0.8624 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.9888, allocations: 391 kB / 0.8628 GB, free: 320 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006167/0.9894, allocations: 323.7 kB / 0.8631 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.9895, allocations: 47.05 kB / 0.8631 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 3.096e-06/0.9895, allocations: 0 / 0.8631 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.002021/0.9915, allocations: 1.005 MB / 0.8641 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.9916, allocations: 55.97 kB / 0.8642 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.9928, allocations: 0.7948 MB / 0.8649 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-05/0.9929, allocations: 37.7 kB / 0.865 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.9933, allocations: 0.5383 MB / 0.8655 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.9935, allocations: 240.5 kB / 0.8657 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.9938, allocations: 146.6 kB / 0.8659 GB, free: 13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9939, allocations: 341.9 kB / 0.8662 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.9944, allocations: 304.7 kB / 0.8665 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.995, allocations: 0.4929 MB / 0.867 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.9961, allocations: 0.799 MB / 0.8677 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.9962, allocations: 0 / 0.8677 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001561/0.9977, allocations: 0.9098 MB / 0.8686 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.9978, allocations: 4 kB / 0.8686 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.9978, allocations: 8 kB / 0.8686 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.9978, allocations: 8 kB / 0.8687 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000853/0.9987, allocations: 175.7 kB / 0.8688 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004042/0.9991, allocations: 0.6136 MB / 0.8694 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000906/1, allocations: 79.2 kB / 0.8695 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/1, allocations: 32 kB / 0.8695 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009273/1.001, allocations: 0.5448 MB / 0.8701 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006232/1.002, allocations: 0.5004 MB / 0.8706 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001101/1.003, allocations: 0.7874 MB / 0.8713 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.449e-06/1.003, allocations: 0 / 0.8713 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001642/1.004, allocations: 0.9096 MB / 0.8722 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.004, allocations: 4.625 kB / 0.8722 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.004, allocations: 11.94 kB / 0.8722 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.005, allocations: 12 kB / 0.8722 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/1.005, allocations: 167.7 kB / 0.8724 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.005, allocations: 8 kB / 0.8724 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008774/1.006, allocations: 71.5 kB / 0.8725 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.677e-05/1.006, allocations: 28 kB / 0.8725 GB, free: 5.883 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0002874/1.006, allocations: 228 kB / 0.8727 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/1.007, allocations: 110.7 kB / 0.8728 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/1.008, allocations: 0.7984 MB / 0.8736 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/1.008, allocations: 8 kB / 0.8736 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.008, allocations: 0 / 0.8736 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/1.009, allocations: 0.8749 MB / 0.8745 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/1.013, allocations: 2.147 MB / 0.8766 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.013, allocations: 0 / 0.8766 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/1.014, allocations: 152.4 kB / 0.8767 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/1.014, allocations: 11.98 kB / 0.8767 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/1.014, allocations: 16 kB / 0.8767 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003189/1.014, allocations: 0.5978 MB / 0.8773 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.014, allocations: 4.031 kB / 0.8773 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/1.016, allocations: 1.28 MB / 0.8786 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/1.017, allocations: 259.8 kB / 0.8788 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/1.017, allocations: 15.94 kB / 0.8788 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/1.018, allocations: 19.98 kB / 0.8789 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/1.018, allocations: 52.45 kB / 0.8789 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/1.018, allocations: 23.98 kB / 0.8789 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007796/1.018, allocations: 0.546 MB / 0.8795 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/1.018, allocations: 0 / 0.8795 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001632/1.02, allocations: 0.5608 MB / 0.88 GB, free: 13.91 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (68): * Single equations (assignments): 67 * 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.0006611/1.021, allocations: 251 kB / 0.8802 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002241/1.023, allocations: 1.161 MB / 0.8814 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.023, allocations: 4 kB / 0.8814 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005917/1.024, allocations: 372.3 kB / 0.8817 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/1.026, allocations: 492.7 kB / 0.8822 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/1.03, allocations: 2.321 MB / 0.8845 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008667/1.031, allocations: 1.182 MB / 0.8856 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/1.031, allocations: 87.42 kB / 0.8857 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/1.031, allocations: 0 / 0.8857 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of Templates: time 0.02951/1.061, allocations: 21.21 MB / 0.9064 GB, free: 2.898 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)