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.001856/0.001856, allocations: 96.27 kB / 15.69 MB, free: 480 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.002677/0.002677, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.364/2.364, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9705/0.9705, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005348/0.000535, allocations: 8 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2485, allocations: 77.12 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8307/1.079, allocations: 164.1 MB / 0.717 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02003/1.099, allocations: 9.579 MB / 0.7263 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/1.102, allocations: 35.75 kB / 0.7264 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/1.104, allocations: 0.5054 MB / 0.7269 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00993/1.114, allocations: 1.581 MB / 0.7284 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005879/1.12, allocations: 1.147 MB / 0.7295 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005161/1.125, allocations: 1.629 MB / 0.7311 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/1.128, allocations: 0.8933 MB / 0.732 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/1.133, allocations: 1.114 MB / 0.7331 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/1.135, allocations: 0.642 MB / 0.7337 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000315/1.135, allocations: 52 kB / 0.7337 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/1.139, allocations: 0.8346 MB / 0.7346 GB, free: 3.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000808/1.14, allocations: 410.8 kB / 0.7349 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007374/1.14, allocations: 277 kB / 0.7352 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003735/1.144, allocations: 1.517 MB / 0.7367 GB, free: 1.633 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.517e-06/1.144, allocations: 0 / 0.7367 GB, free: 1.633 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.308e-06/1.144, allocations: 4 kB / 0.7367 GB, free: 1.629 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.148e-05/1.144, allocations: 0 / 0.7367 GB, free: 1.629 MB / 0.545 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.004832/1.149, allocations: 1.434 MB / 0.7381 GB, free: 148 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/1.149, allocations: 8.031 kB / 0.7381 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004049/1.15, allocations: 160.3 kB / 0.7383 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/1.153, allocations: 322 kB / 0.7386 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/1.156, allocations: 0.8477 MB / 0.7394 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/1.156, allocations: 81.98 kB / 0.7395 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/1.156, allocations: 104 kB / 0.7396 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/1.159, allocations: 1.163 MB / 0.7407 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/1.159, allocations: 0 / 0.7407 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/1.16, allocations: 43.95 kB / 0.7407 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.97e-05/1.16, allocations: 38 kB / 0.7408 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/1.162, allocations: 0.9368 MB / 0.7417 GB, free: 12.37 MB / 0.5606 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.008872/1.171, allocations: 4.725 MB / 0.7463 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/1.173, allocations: 0.7449 MB / 0.747 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005713/1.174, allocations: 141.6 kB / 0.7472 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/1.174, allocations: 47.11 kB / 0.7472 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 5.651e-06/1.174, allocations: 0 / 0.7472 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.003115/1.177, allocations: 1.021 MB / 0.7482 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/1.177, allocations: 55.97 kB / 0.7483 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/1.178, allocations: 0.7986 MB / 0.7491 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.179, allocations: 37.7 kB / 0.7491 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005901/1.179, allocations: 0.5384 MB / 0.7496 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/1.18, allocations: 248.4 kB / 0.7499 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/1.18, allocations: 12 kB / 0.7499 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.18, allocations: 334 kB / 0.7502 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/1.181, allocations: 293.8 kB / 0.7505 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.182, allocations: 0.5061 MB / 0.751 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009073/1.183, allocations: 367 kB / 0.7513 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.183, allocations: 0 / 0.7513 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002356/1.185, allocations: 0.9213 MB / 0.7522 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001006/1.186, allocations: 1.745 MB / 0.7539 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.186, allocations: 4 kB / 0.7539 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.992e-05/1.186, allocations: 16 kB / 0.7539 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/1.187, allocations: 181.3 kB / 0.7541 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000559/1.188, allocations: 0.6093 MB / 0.7547 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/1.19, allocations: 139.2 kB / 0.7548 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/1.19, allocations: 35.98 kB / 0.7549 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.19, allocations: 6.031 kB / 0.7549 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002018/1.192, allocations: 0.7958 MB / 0.7556 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.192, allocations: 4 kB / 0.7557 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.192, allocations: 12 kB / 0.7557 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009987/1.193, allocations: 166.2 kB / 0.7558 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/1.193, allocations: 15.94 kB / 0.7558 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.195, allocations: 127.2 kB / 0.756 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.195, allocations: 35.98 kB / 0.756 GB, free: 13 MB / 0.5762 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.001021/1.196, allocations: 413.4 kB / 0.7564 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/1.196, allocations: 98.78 kB / 0.7565 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/1.198, allocations: 0.8061 MB / 0.7573 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.198, allocations: 4 kB / 0.7573 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.198, allocations: 7.984 kB / 0.7573 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001619/1.2, allocations: 0.8866 MB / 0.7581 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005636/1.206, allocations: 2.174 MB / 0.7603 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.206, allocations: 0 / 0.7603 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.207, allocations: 156.1 kB / 0.7604 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/1.207, allocations: 11.95 kB / 0.7604 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/1.207, allocations: 23.98 kB / 0.7605 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004432/1.207, allocations: 0.59 MB / 0.761 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.207, allocations: 7.938 kB / 0.761 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/1.21, allocations: 1.412 MB / 0.7624 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008038/1.211, allocations: 259.7 kB / 0.7627 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/1.211, allocations: 19.98 kB / 0.7627 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009832/1.212, allocations: 68.5 kB / 0.7627 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.212, allocations: 44.5 kB / 0.7628 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/1.212, allocations: 27.98 kB / 0.7628 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001156/1.214, allocations: 0.5343 MB / 0.7633 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/1.214, allocations: 7.938 kB / 0.7633 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002485/1.216, allocations: 0.5686 MB / 0.7639 GB, free: 4.559 MB / 0.5762 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.004254/1.22, allocations: 2.694 MB / 0.7665 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003373/1.224, allocations: 1.173 MB / 0.7677 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.224, allocations: 0 / 0.7677 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009154/1.225, allocations: 370.9 kB / 0.768 GB, free: 276 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/1.229, allocations: 485.9 kB / 0.7685 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/1.246, allocations: 9.281 MB / 0.7776 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.247, allocations: 1.198 MB / 0.7787 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002092/1.249, allocations: 360 kB / 0.7791 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000953/1.25, allocations: 439.3 kB / 0.7795 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of SimCode: time 1.893e-06/1.25, allocations: 0 / 0.7795 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0853/1.335, allocations: 26.33 MB / 0.8052 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004159/1.336, allocations: 256.1 kB / 0.8054 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.232/5.568, allocations: 0 / 0.8054 GB, free: 9.961 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: