Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildSysPro_BuildSysPro_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.001001/0.001001, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001096/0.001097, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.039/1.039, allocations: 143.3 MB / 434.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 12 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2222, allocations: 83.42 MB / 0.5974 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5944/0.8166, allocations: 164.2 MB / 0.7577 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.8309, allocations: 9.589 MB / 0.7671 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.8325, allocations: 35.75 kB / 0.7671 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.8342, allocations: 0.5093 MB / 0.7676 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.8396, allocations: 1.581 MB / 0.7691 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.8434, allocations: 1.139 MB / 0.7702 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00329/0.8467, allocations: 1.625 MB / 0.7718 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.8483, allocations: 0.8893 MB / 0.7727 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.8511, allocations: 1.117 MB / 0.7738 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.8523, allocations: 0.6459 MB / 0.7744 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.8524, allocations: 52 kB / 0.7745 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.8545, allocations: 0.8345 MB / 0.7753 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004689/0.855, allocations: 418.8 kB / 0.7757 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.8554, allocations: 277 kB / 0.776 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.8574, allocations: 1.592 MB / 0.7775 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.8574, allocations: 0 / 0.7775 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8575, allocations: 0 / 0.7775 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.8575, allocations: 0 / 0.7775 GB, free: 3.5 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002574/0.8601, allocations: 1.427 MB / 0.7789 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8601, allocations: 12.03 kB / 0.7789 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.8603, allocations: 156.3 kB / 0.7791 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.8621, allocations: 326 kB / 0.7794 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.8638, allocations: 0.8477 MB / 0.7802 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/0.8639, allocations: 78 kB / 0.7803 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.864, allocations: 115.8 kB / 0.7804 GB, free: 460 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.8659, allocations: 1.163 MB / 0.7815 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.8659, allocations: 0 / 0.7815 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/0.866, allocations: 40 kB / 0.7816 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/0.8661, allocations: 45.92 kB / 0.7816 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.8677, allocations: 0.9368 MB / 0.7825 GB, free: 14.23 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.005789/0.8735, allocations: 4.718 MB / 0.7871 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.8747, allocations: 0.7363 MB / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/0.8752, allocations: 150.4 kB / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.8752, allocations: 43.62 kB / 0.788 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.946e-06/0.8752, allocations: 0 / 0.788 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.001901/0.8771, allocations: 1.029 MB / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.8772, allocations: 59.95 kB / 0.7891 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.8782, allocations: 0.787 MB / 0.7899 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.8783, allocations: 37.7 kB / 0.7899 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.8787, allocations: 0.5306 MB / 0.7904 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.8789, allocations: 248.3 kB / 0.7907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.8789, allocations: 20 kB / 0.7907 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8791, allocations: 341.9 kB / 0.791 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.8796, allocations: 289.8 kB / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.8802, allocations: 0.4988 MB / 0.7918 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.8808, allocations: 375 kB / 0.7921 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.8808, allocations: 4 kB / 0.7921 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001334/0.8821, allocations: 0.9136 MB / 0.793 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007058/0.8828, allocations: 1.745 MB / 0.7947 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.8829, allocations: 11.89 kB / 0.7947 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.8829, allocations: 12.09 kB / 0.7947 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.8837, allocations: 184.2 kB / 0.7949 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004062/0.8841, allocations: 0.5938 MB / 0.7955 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000905/0.8851, allocations: 143.1 kB / 0.7956 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/0.8851, allocations: 35.98 kB / 0.7957 GB, free: 36 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.8851, allocations: 4 kB / 0.7957 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001229/0.8864, allocations: 0.8006 MB / 0.7965 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8864, allocations: 4 kB / 0.7965 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.8864, allocations: 12 kB / 0.7965 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.887, allocations: 163.8 kB / 0.7966 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.8871, allocations: 19.88 kB / 0.7966 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007582/0.8878, allocations: 125.8 kB / 0.7968 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.8879, allocations: 32 kB / 0.7968 GB, free: 14.88 MB / 0.6231 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.0005337/0.8884, allocations: 405.5 kB / 0.7972 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.8886, allocations: 106.8 kB / 0.7973 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.8899, allocations: 0.8033 MB / 0.7981 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.8899, allocations: 11.98 kB / 0.7981 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8899, allocations: 3.953 kB / 0.7981 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.891, allocations: 0.8905 MB / 0.799 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/0.8944, allocations: 2.178 MB / 0.8011 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.8944, allocations: 7.984 kB / 0.8011 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/0.8951, allocations: 152.4 kB / 0.8012 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.8952, allocations: 4 kB / 0.8012 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.8952, allocations: 20 kB / 0.8013 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003325/0.8956, allocations: 0.598 MB / 0.8018 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8956, allocations: 4.625 kB / 0.8018 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.8974, allocations: 1.404 MB / 0.8032 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.8978, allocations: 267.6 kB / 0.8035 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.8979, allocations: 16 kB / 0.8035 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.8985, allocations: 72.66 kB / 0.8036 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.8986, allocations: 44.34 kB / 0.8036 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-05/0.8987, allocations: 27.98 kB / 0.8036 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006884/0.8994, allocations: 0.5382 MB / 0.8041 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8994, allocations: 0 / 0.8041 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001337/0.9007, allocations: 0.5648 MB / 0.8047 GB, free: 6.445 MB / 0.6231 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.002659/0.9034, allocations: 2.715 MB / 0.8074 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.9054, allocations: 1.169 MB / 0.8085 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.9055, allocations: 4.062 kB / 0.8085 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.906, allocations: 370.9 kB / 0.8089 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.908, allocations: 474.4 kB / 0.8093 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009931/0.918, allocations: 9.289 MB / 0.8184 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/0.9188, allocations: 1.194 MB / 0.8195 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001185/0.92, allocations: 364.9 kB / 0.8199 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.9205, allocations: 431.3 kB / 0.8203 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of SimCode: time 7.91e-07/0.9206, allocations: 0 / 0.8203 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04826/0.9688, allocations: 26.4 MB / 0.8461 GB, free: 12.23 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.9691, allocations: 264.9 kB / 0.8463 GB, free: 11.88 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.393, allocations: 0 / 0.8463 GB, free: 11.88 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) Environment - environmentSimulation: