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.0008791/0.0008793, allocations: 99.05 kB / 16.02 MB, free: 80 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.001262/0.001262, allocations: 184.8 kB / 16.92 MB, free: 6.676 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6763/0.6763, allocations: 115.5 MB / 407.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 8 kB / 496 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1612, allocations: 77.52 MB / 0.56 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5843/0.7455, allocations: 193.1 MB / 0.7486 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.7612, allocations: 10.83 MB / 0.7592 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.7631, allocations: 39.75 kB / 0.7592 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.7649, allocations: 441.5 kB / 0.7597 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005053/0.77, allocations: 1.688 MB / 0.7613 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.7732, allocations: 1.045 MB / 0.7623 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004407/0.7776, allocations: 3.744 MB / 0.766 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.7795, allocations: 0.99 MB / 0.767 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004814/0.7843, allocations: 1.426 MB / 0.7683 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.7864, allocations: 0.9328 MB / 0.7693 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003773/0.7868, allocations: 52 kB / 0.7693 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.7911, allocations: 1.894 MB / 0.7712 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008634/0.792, allocations: 458.6 kB / 0.7716 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.7938, allocations: 0.6351 MB / 0.7722 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005118/0.7989, allocations: 2.336 MB / 0.7745 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7989, allocations: 0 / 0.7745 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7989, allocations: 0 / 0.7745 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.199e-05/0.799, allocations: 0 / 0.7745 GB, free: 10.85 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.003483/0.8025, allocations: 1.447 MB / 0.7759 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.8026, allocations: 16.03 kB / 0.7759 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004025/0.803, allocations: 156.3 kB / 0.7761 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.8052, allocations: 322.1 kB / 0.7764 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.8071, allocations: 0.8703 MB / 0.7772 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.8072, allocations: 82 kB / 0.7773 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.8074, allocations: 103.9 kB / 0.7774 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.8096, allocations: 1.175 MB / 0.7786 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.8097, allocations: 4 kB / 0.7786 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-05/0.8098, allocations: 40 kB / 0.7786 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.367e-05/0.8098, allocations: 46 kB / 0.7786 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.8116, allocations: 0.9368 MB / 0.7796 GB, free: 5.523 MB / 0.5919 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.005924/0.8175, allocations: 4.717 MB / 0.7842 GB, free: 428 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.8187, allocations: 0.7206 MB / 0.7849 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.8193, allocations: 395 kB / 0.7852 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006171/0.8199, allocations: 332.7 kB / 0.7856 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.82, allocations: 43.11 kB / 0.7856 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=68): time 2.415e-06/0.82, allocations: 4 kB / 0.7856 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68): time 0.001995/0.822, allocations: 1.001 MB / 0.7866 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.8221, allocations: 59.97 kB / 0.7866 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.8232, allocations: 0.7909 MB / 0.7874 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.8233, allocations: 41.7 kB / 0.7874 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.8237, allocations: 0.5383 MB / 0.788 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.8239, allocations: 244.5 kB / 0.7882 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.8241, allocations: 65.69 kB / 0.7883 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8242, allocations: 341.9 kB / 0.7886 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/0.8247, allocations: 289.8 kB / 0.7889 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.8253, allocations: 0.4968 MB / 0.7894 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.8265, allocations: 0.7835 MB / 0.7901 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8265, allocations: 0 / 0.7901 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001499/0.828, allocations: 0.9097 MB / 0.791 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.8282, allocations: 237.4 kB / 0.7912 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.8282, allocations: 4 kB / 0.7912 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.8282, allocations: 8 kB / 0.7912 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.8291, allocations: 191.6 kB / 0.7914 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000393/0.8295, allocations: 0.6062 MB / 0.792 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.8305, allocations: 131.2 kB / 0.7921 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.8306, allocations: 36 kB / 0.7922 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.8306, allocations: 8 kB / 0.7922 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001293/0.8319, allocations: 0.7887 MB / 0.793 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.832, allocations: 4 kB / 0.793 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.832, allocations: 8 kB / 0.793 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.8326, allocations: 171.7 kB / 0.7931 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.8326, allocations: 15.88 kB / 0.7932 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.8336, allocations: 127.2 kB / 0.7933 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.8337, allocations: 36 kB / 0.7933 GB, free: 6.664 MB / 0.6075 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.0006273/0.8343, allocations: 402.3 kB / 0.7937 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.8345, allocations: 102.8 kB / 0.7938 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.836, allocations: 0.7978 MB / 0.7946 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.836, allocations: 7.938 kB / 0.7946 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.836, allocations: 0 / 0.7946 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.8371, allocations: 0.8827 MB / 0.7954 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.841, allocations: 2.151 MB / 0.7975 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.841, allocations: 0 / 0.7975 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007057/0.8417, allocations: 155.8 kB / 0.7977 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.8417, allocations: 4 kB / 0.7977 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.8418, allocations: 19.98 kB / 0.7977 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002912/0.8421, allocations: 0.594 MB / 0.7983 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8421, allocations: 7.969 kB / 0.7983 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.8438, allocations: 1.28 MB / 0.7995 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.8443, allocations: 263.6 kB / 0.7998 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.8445, allocations: 12 kB / 0.7998 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007447/0.8453, allocations: 75.78 kB / 0.7999 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.8454, allocations: 40.52 kB / 0.7999 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.8454, allocations: 27.98 kB / 0.7999 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007758/0.8462, allocations: 0.546 MB / 0.8005 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8462, allocations: 0 / 0.8005 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001599/0.8478, allocations: 0.5686 MB / 0.801 GB, free: 14.46 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 (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.002582/0.8504, allocations: 1.962 MB / 0.803 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.8527, allocations: 1.161 MB / 0.8041 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.8527, allocations: 256 / 0.8041 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006091/0.8533, allocations: 366.9 kB / 0.8044 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.8563, allocations: 484 kB / 0.8049 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/0.8705, allocations: 8.84 MB / 0.8135 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.8716, allocations: 1.175 MB / 0.8147 GB, free: 24 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001372/0.873, allocations: 351.9 kB / 0.815 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/0.8737, allocations: 431.2 kB / 0.8154 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of SimCode: time 9.42e-07/0.8737, allocations: 0 / 0.8154 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3247/1.198, allocations: 25.21 MB / 0.84 GB, free: 230.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/1.199, allocations: 277.8 kB / 0.8403 GB, free: 230 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.712, allocations: 6.609 kB / 0.8403 GB, free: 230 MB / 0.6387 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/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)