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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006984/0.0006984, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007492/0.0007492, allocations: 173.6 kB / 16.58 MB, free: 6.496 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.184/1.184, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6084/0.6084, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 17.73 kB / 493.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.3711/0.4912, allocations: 180.2 MB / 0.7328 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.5019, allocations: 10.15 MB / 0.7427 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000719/0.5026, allocations: 39.75 kB / 0.7428 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00094/0.5036, allocations: 373.5 kB / 0.7431 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.5062, allocations: 1.318 MB / 0.7444 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.5082, allocations: 0.8858 MB / 0.7453 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.5109, allocations: 3.177 MB / 0.7484 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009718/0.5119, allocations: 0.8761 MB / 0.7493 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.5138, allocations: 1.233 MB / 0.7505 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009734/0.5148, allocations: 0.9144 MB / 0.7514 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.5149, allocations: 52 kB / 0.7514 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.5167, allocations: 1.025 MB / 0.7524 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.5171, allocations: 454.6 kB / 0.7528 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.5173, allocations: 277 kB / 0.7531 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.5187, allocations: 1.617 MB / 0.7547 GB, free: 184 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5187, allocations: 0 / 0.7547 GB, free: 184 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5187, allocations: 0 / 0.7547 GB, free: 184 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.5187, allocations: 0 / 0.7547 GB, free: 184 kB / 0.5606 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.001898/0.5206, allocations: 1.457 MB / 0.7561 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.5207, allocations: 8.031 kB / 0.7561 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.5208, allocations: 160.2 kB / 0.7563 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.5223, allocations: 326 kB / 0.7566 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.5236, allocations: 0.9023 MB / 0.7575 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.5237, allocations: 82 kB / 0.7575 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.5238, allocations: 104 kB / 0.7576 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.5254, allocations: 1.167 MB / 0.7588 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.5255, allocations: 3.938 kB / 0.7588 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.5255, allocations: 51.94 kB / 0.7588 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.5256, allocations: 37.98 kB / 0.7589 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.5269, allocations: 0.9368 MB / 0.7598 GB, free: 10.82 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.004274/0.5312, allocations: 4.714 MB / 0.7644 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.5323, allocations: 0.7325 MB / 0.7651 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.5328, allocations: 398.9 kB / 0.7655 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004978/0.5333, allocations: 332.6 kB / 0.7658 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.5333, allocations: 43.12 kB / 0.7658 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.004e-06/0.5333, allocations: 0 / 0.7658 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.001616/0.535, allocations: 1.017 MB / 0.7668 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.535, allocations: 59.97 kB / 0.7669 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/0.5358, allocations: 0.7908 MB / 0.7677 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.5359, allocations: 37.7 kB / 0.7677 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.5362, allocations: 0.5422 MB / 0.7682 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.5364, allocations: 252.3 kB / 0.7685 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.5365, allocations: 16 kB / 0.7685 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5366, allocations: 334 kB / 0.7688 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.537, allocations: 289.8 kB / 0.7691 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.5375, allocations: 0.5062 MB / 0.7696 GB, free: 196 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.5381, allocations: 375 kB / 0.7699 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5381, allocations: 4 kB / 0.7699 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001228/0.5393, allocations: 0.9137 MB / 0.7708 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.5395, allocations: 234.6 kB / 0.771 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.5395, allocations: 4 kB / 0.771 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5395, allocations: 11.5 kB / 0.7711 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.5402, allocations: 179.7 kB / 0.7712 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003581/0.5406, allocations: 0.6016 MB / 0.7718 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.5413, allocations: 139.2 kB / 0.7719 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.5414, allocations: 36 kB / 0.772 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.553e-06/0.5414, allocations: 4 kB / 0.772 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001094/0.5425, allocations: 0.7959 MB / 0.7728 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5425, allocations: 4.781 kB / 0.7728 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.5425, allocations: 8.594 kB / 0.7728 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.5431, allocations: 175.7 kB / 0.7729 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.5431, allocations: 8 kB / 0.773 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.5438, allocations: 127.2 kB / 0.7731 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.5438, allocations: 36 kB / 0.7731 GB, free: 12.46 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004056/0.5442, allocations: 409.4 kB / 0.7735 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.5444, allocations: 98.78 kB / 0.7736 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.5456, allocations: 0.8062 MB / 0.7744 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5456, allocations: 8 kB / 0.7744 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5456, allocations: 4 kB / 0.7744 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009632/0.5466, allocations: 0.8866 MB / 0.7753 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.5496, allocations: 2.174 MB / 0.7774 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5496, allocations: 5.156 kB / 0.7774 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.5503, allocations: 159.8 kB / 0.7775 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.5503, allocations: 4 kB / 0.7775 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.5504, allocations: 27.98 kB / 0.7776 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002625/0.5506, allocations: 0.5938 MB / 0.7781 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5506, allocations: 0 / 0.7781 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.5523, allocations: 1.311 MB / 0.7794 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.5527, allocations: 259.6 kB / 0.7797 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.5528, allocations: 20 kB / 0.7797 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.5534, allocations: 59.94 kB / 0.7798 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.5535, allocations: 52.45 kB / 0.7798 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.5535, allocations: 23.98 kB / 0.7798 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006086/0.5541, allocations: 0.5343 MB / 0.7803 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5541, allocations: 0 / 0.7803 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001208/0.5553, allocations: 0.5763 MB / 0.7809 GB, free: 4.191 MB / 0.5919 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002196/0.5575, allocations: 1.978 MB / 0.7828 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.5594, allocations: 1.169 MB / 0.784 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5594, allocations: 0 / 0.784 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.5599, allocations: 371.6 kB / 0.7843 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.5618, allocations: 488.5 kB / 0.7848 GB, free: 188 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00873/0.5706, allocations: 6.494 MB / 0.7911 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/0.5714, allocations: 1.182 MB / 0.7923 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001092/0.5725, allocations: 360 kB / 0.7926 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005357/0.573, allocations: 435.3 kB / 0.7931 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.573, allocations: 0 / 0.7931 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2538/0.8268, allocations: 26.36 MB / 0.8188 GB, free: 214.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001223/0.827, allocations: 261.4 kB / 0.8191 GB, free: 214.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.853, allocations: 0 / 0.8191 GB, free: 214.1 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) Environment - environmentSimulation: