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.001484/0.001484, allocations: 103.4 kB / 16.4 MB, free: 6.449 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.001169/0.001169, allocations: 193.2 kB / 17.34 MB, free: 5.723 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7366/0.7366, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.06 kB / 0.5577 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1706, allocations: 76.18 MB / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6118/0.7824, allocations: 198 MB / 0.8254 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.7958, allocations: 10.9 MB / 0.8361 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.7979, allocations: 53.91 kB / 0.8361 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.7998, allocations: 0.5247 MB / 0.8366 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.8049, allocations: 1.79 MB / 0.8384 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.8081, allocations: 1.164 MB / 0.8395 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003624/0.8118, allocations: 2.777 MB / 0.8422 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.8133, allocations: 1.205 MB / 0.8434 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003907/0.8172, allocations: 1.638 MB / 0.845 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.8188, allocations: 0.9474 MB / 0.8459 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.819, allocations: 125.5 kB / 0.846 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/0.8229, allocations: 1.722 MB / 0.8477 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006744/0.8236, allocations: 0.5198 MB / 0.8482 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009877/0.8246, allocations: 0.7096 MB / 0.8489 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004234/0.8289, allocations: 2.363 MB / 0.8512 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8289, allocations: 0 / 0.8512 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8289, allocations: 0 / 0.8512 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.8289, allocations: 0 / 0.8512 GB, free: 11.51 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.002837/0.8318, allocations: 1.701 MB / 0.8529 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.8318, allocations: 12.03 kB / 0.8529 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.8336, allocations: 322 kB / 0.8532 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.8353, allocations: 0.9171 MB / 0.8541 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/0.8354, allocations: 78 kB / 0.8542 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.8356, allocations: 104 kB / 0.8543 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.8374, allocations: 1.175 MB / 0.8554 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.8375, allocations: 4 kB / 0.8554 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.8375, allocations: 44 kB / 0.8555 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/0.8376, allocations: 34 kB / 0.8555 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.8392, allocations: 0.9368 MB / 0.8564 GB, free: 6.453 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.00566/0.8448, allocations: 4.721 MB / 0.861 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.846, allocations: 0.7257 MB / 0.8617 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.8466, allocations: 395 kB / 0.8621 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/0.8472, allocations: 320.7 kB / 0.8624 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.8473, allocations: 47.11 kB / 0.8625 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 3.838e-06/0.8473, allocations: 0 / 0.8625 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.00192/0.8492, allocations: 1.001 MB / 0.8635 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.8493, allocations: 63.97 kB / 0.8635 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009318/0.8502, allocations: 0.7948 MB / 0.8643 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.8503, allocations: 41.64 kB / 0.8643 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.8506, allocations: 0.5305 MB / 0.8648 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.8508, allocations: 248.5 kB / 0.8651 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.8511, allocations: 146.6 kB / 0.8652 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8512, allocations: 337.9 kB / 0.8655 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.8517, allocations: 304.7 kB / 0.8658 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.8523, allocations: 0.4929 MB / 0.8663 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.8534, allocations: 0.7913 MB / 0.8671 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8534, allocations: 0 / 0.8671 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00136/0.8548, allocations: 0.914 MB / 0.868 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.8548, allocations: 4 kB / 0.868 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.8548, allocations: 4 kB / 0.868 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.8549, allocations: 12 kB / 0.868 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/0.8557, allocations: 179.7 kB / 0.8682 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003779/0.8561, allocations: 0.6134 MB / 0.8688 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/0.8569, allocations: 79.2 kB / 0.8688 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.8569, allocations: 32 kB / 0.8689 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008809/0.8578, allocations: 0.5448 MB / 0.8694 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006007/0.8584, allocations: 0.4964 MB / 0.8699 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001029/0.8595, allocations: 0.7913 MB / 0.8707 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.8595, allocations: 1.562 kB / 0.8707 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001436/0.8609, allocations: 0.9096 MB / 0.8716 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.861, allocations: 9.406 kB / 0.8716 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.861, allocations: 4 kB / 0.8716 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.861, allocations: 16.56 kB / 0.8716 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.8616, allocations: 167.7 kB / 0.8717 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8616, allocations: 11.94 kB / 0.8718 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.8623, allocations: 67.5 kB / 0.8718 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.8624, allocations: 32 kB / 0.8719 GB, free: 5.789 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.000227/0.8626, allocations: 228 kB / 0.8721 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.8628, allocations: 98.78 kB / 0.8722 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.8641, allocations: 0.8015 MB / 0.8729 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.8641, allocations: 8 kB / 0.873 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8641, allocations: 0 / 0.873 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/0.8652, allocations: 0.8788 MB / 0.8738 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.8688, allocations: 2.135 MB / 0.8759 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.8688, allocations: 8.281 kB / 0.8759 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.8696, allocations: 151.9 kB / 0.876 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.8696, allocations: 8 kB / 0.8761 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.8697, allocations: 23.98 kB / 0.8761 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003617/0.87, allocations: 0.5937 MB / 0.8767 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8701, allocations: 4 kB / 0.8767 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.8718, allocations: 1.288 MB / 0.8779 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/0.8723, allocations: 255.8 kB / 0.8782 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8724, allocations: 15.94 kB / 0.8782 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.8728, allocations: 19.98 kB / 0.8782 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.8729, allocations: 48.52 kB / 0.8782 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.873, allocations: 23.98 kB / 0.8783 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006595/0.8737, allocations: 0.546 MB / 0.8788 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8737, allocations: 0 / 0.8788 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001391/0.8751, allocations: 0.5608 MB / 0.8793 GB, free: 13.82 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.0005478/0.8756, allocations: 253.6 kB / 0.8796 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.8777, allocations: 1.161 MB / 0.8807 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8777, allocations: 4 kB / 0.8807 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.8783, allocations: 362.9 kB / 0.8811 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.8803, allocations: 492 kB / 0.8815 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.8839, allocations: 2.258 MB / 0.8837 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.8846, allocations: 1.171 MB / 0.8849 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009909/0.8856, allocations: 347.8 kB / 0.8852 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.8858, allocations: 83.42 kB / 0.8853 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.8858, allocations: 4 kB / 0.8853 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of Templates: time 0.03086/0.9167, allocations: 17.93 MB / 0.9028 GB, free: 5.961 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)