Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001079/0.001079, allocations: 109.9 kB / 16.41 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.001165/0.001165, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.002111, allocations: 284 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9194/0.9194, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 91.86 kB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3761, allocations: 86.99 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.551/0.9272, allocations: 198 MB / 0.9604 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.9394, allocations: 10.89 MB / 0.9711 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.9405, allocations: 49.48 kB / 0.9711 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.9418, allocations: 0.5428 MB / 0.9716 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.9454, allocations: 1.872 MB / 0.9735 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.9479, allocations: 1.168 MB / 0.9746 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.9504, allocations: 2.788 MB / 0.9773 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.9516, allocations: 1.212 MB / 0.9785 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003051/0.9547, allocations: 1.669 MB / 0.9801 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.9557, allocations: 0.9548 MB / 0.9811 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.9559, allocations: 123.9 kB / 0.9812 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.9585, allocations: 1.724 MB / 0.9829 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004037/0.9589, allocations: 0.5186 MB / 0.9834 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006593/0.9596, allocations: 0.7145 MB / 0.9841 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.9622, allocations: 2.371 MB / 0.9864 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9622, allocations: 2.969 kB / 0.9864 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9622, allocations: 0 / 0.9864 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.9622, allocations: 0 / 0.9864 GB, free: 1.438 MB / 0.7169 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.002285/0.9645, allocations: 1.69 MB / 0.988 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.9646, allocations: 8.531 kB / 0.988 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.9663, allocations: 322.7 kB / 0.9884 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.9677, allocations: 0.9106 MB / 0.9892 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.9678, allocations: 79.91 kB / 0.9893 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.9679, allocations: 104.4 kB / 0.9894 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.9695, allocations: 1.183 MB / 0.9906 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.9695, allocations: 0.9375 kB / 0.9906 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.9696, allocations: 42.09 kB / 0.9906 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.9696, allocations: 34.81 kB / 0.9907 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.971, allocations: 0.9415 MB / 0.9916 GB, free: 15.99 MB / 0.7325 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.00436/0.9753, allocations: 4.723 MB / 0.9962 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/0.9763, allocations: 0.7132 MB / 0.9969 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/0.9768, allocations: 393.8 kB / 0.9973 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005471/0.9774, allocations: 316.6 kB / 0.9976 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.9774, allocations: 43.75 kB / 0.9976 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=68): time 2.234e-06/0.9774, allocations: 0 / 0.9976 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68): time 0.001594/0.979, allocations: 1.002 MB / 0.9986 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.979, allocations: 59.34 kB / 0.9986 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007559/0.9798, allocations: 0.7981 MB / 0.9994 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.9799, allocations: 41.7 kB / 0.9995 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.9802, allocations: 0.5309 MB / 1 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.9804, allocations: 248.2 kB / 1 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.9806, allocations: 149.6 kB / 1 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.9807, allocations: 342 kB / 1.001 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.9811, allocations: 300.1 kB / 1.001 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.9816, allocations: 0.4943 MB / 1.001 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009494/0.9826, allocations: 0.7979 MB / 1.002 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9826, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001209/0.9838, allocations: 0.9017 MB / 1.003 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.9839, allocations: 5.844 kB / 1.003 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.9839, allocations: 9.234 kB / 1.003 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.9839, allocations: 9.375 kB / 1.003 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.9847, allocations: 187.9 kB / 1.003 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003467/0.9851, allocations: 0.6129 MB / 1.004 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/0.9858, allocations: 76.22 kB / 1.004 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.9858, allocations: 36.06 kB / 1.004 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006771/0.9865, allocations: 0.5438 MB / 1.005 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000537/0.9871, allocations: 0.4959 MB / 1.005 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009969/0.9881, allocations: 0.7874 MB / 1.006 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.9881, allocations: 0.7188 kB / 1.006 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001318/0.9894, allocations: 0.9095 MB / 1.007 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.9894, allocations: 7.375 kB / 1.007 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9894, allocations: 6.688 kB / 1.007 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.9895, allocations: 10.75 kB / 1.007 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.9901, allocations: 164.9 kB / 1.007 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.9901, allocations: 15.56 kB / 1.007 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.9908, allocations: 73.02 kB / 1.007 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.9908, allocations: 34.16 kB / 1.007 GB, free: 10.18 MB / 0.7325 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.0001766/0.991, allocations: 229 kB / 1.007 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.9912, allocations: 97.39 kB / 1.007 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.9923, allocations: 0.7879 MB / 1.008 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000994/0.9933, allocations: 0.877 MB / 1.009 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.9934, allocations: 4.906 kB / 1.009 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.9937, allocations: 257.6 kB / 1.009 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.9939, allocations: 16.31 kB / 1.009 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.9944, allocations: 18.73 kB / 1.009 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.9944, allocations: 39.8 kB / 1.009 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001589/0.996, allocations: 0.8639 MB / 1.01 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001534/0.9976, allocations: 1.327 MB / 1.011 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003975/0.998, allocations: 336.8 kB / 1.012 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005541/0.9986, allocations: 0.5472 MB / 1.012 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of Backend: time 5.91e-07/0.9986, allocations: 3.094 kB / 1.012 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002744/1.001, allocations: 1.351 MB / 1.014 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003842/1.005, allocations: 2.778 MB / 1.016 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of Templates: time 0.0341/1.039, allocations: 24.01 MB / 1.04 GB, free: 11.62 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)