Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.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.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001591/0.001591, allocations: 189.5 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.295/1.295, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 287.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9643/0.9643, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 95.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4063, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MassFraction): time 0.18/0.5864, allocations: 186.8 MB / 0.9495 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007421/0.5938, allocations: 4.583 MB / 0.9539 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007597/0.5946, allocations: 31.81 kB / 0.954 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009996/0.5957, allocations: 409.4 kB / 0.9544 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.5985, allocations: 1.342 MB / 0.9557 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.6003, allocations: 0.7778 MB / 0.9564 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3659/0.9661, allocations: 1.948 MB / 0.9583 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.9673, allocations: 0.6472 MB / 0.959 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.9701, allocations: 1.086 MB / 0.96 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009436/0.9711, allocations: 0.5844 MB / 0.9606 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.9712, allocations: 64.34 kB / 0.9607 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.9736, allocations: 1.383 MB / 0.962 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.9739, allocations: 292.9 kB / 0.9623 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.9744, allocations: 412.8 kB / 0.9627 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.9764, allocations: 1.484 MB / 0.9641 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9765, allocations: 1.594 kB / 0.9641 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9765, allocations: 0 / 0.9641 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.9765, allocations: 0 / 0.9641 GB, free: 3.035 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001625/0.9781, allocations: 1.095 MB / 0.9652 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.9782, allocations: 7.156 kB / 0.9652 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.9794, allocations: 205.7 kB / 0.9654 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/0.9803, allocations: 0.6146 MB / 0.966 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.9804, allocations: 38.78 kB / 0.966 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/0.9805, allocations: 55.59 kB / 0.9661 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.9814, allocations: 0.6228 MB / 0.9667 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.9814, allocations: 5.938 kB / 0.9667 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.9815, allocations: 26.31 kB / 0.9667 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.9815, allocations: 19.56 kB / 0.9667 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006804/0.9822, allocations: 0.4883 MB / 0.9672 GB, free: 18 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.002569/0.9848, allocations: 2.405 MB / 0.9696 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.9853, allocations: 358 kB / 0.9699 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.9855, allocations: 217.1 kB / 0.9701 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005433/0.9861, allocations: 303.2 kB / 0.9704 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.9861, allocations: 40.47 kB / 0.9704 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.663e-06/0.9861, allocations: 2.906 kB / 0.9704 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.0009745/0.9871, allocations: 0.5476 MB / 0.971 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.9871, allocations: 59.92 kB / 0.971 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.9876, allocations: 0.4955 MB / 0.9715 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.9877, allocations: 32.81 kB / 0.9716 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.9878, allocations: 319.4 kB / 0.9719 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.9879, allocations: 132 kB / 0.972 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.988, allocations: 84.27 kB / 0.9721 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9882, allocations: 366.3 kB / 0.9724 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.9884, allocations: 158.1 kB / 0.9726 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.9886, allocations: 256.4 kB / 0.9728 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.9891, allocations: 409.7 kB / 0.9732 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9891, allocations: 0.9688 kB / 0.9732 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006009/0.9897, allocations: 489.7 kB / 0.9737 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.9897, allocations: 9.234 kB / 0.9737 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.9897, allocations: 0 / 0.9737 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9897, allocations: 5.969 kB / 0.9737 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.9903, allocations: 101 kB / 0.9738 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003474/0.9906, allocations: 0.5977 MB / 0.9744 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.9911, allocations: 46.77 kB / 0.9744 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.9912, allocations: 15.77 kB / 0.9744 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003589/0.9915, allocations: 336.5 kB / 0.9747 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002426/0.9918, allocations: 263.2 kB / 0.975 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000433/0.9922, allocations: 394.8 kB / 0.9754 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.776e-06/0.9922, allocations: 3.656 kB / 0.9754 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000588/0.9928, allocations: 488.9 kB / 0.9758 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.9929, allocations: 11.98 kB / 0.9759 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.9929, allocations: 3.938 kB / 0.9759 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.9929, allocations: 4.906 kB / 0.9759 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.9932, allocations: 88.66 kB / 0.9759 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.9932, allocations: 5.344 kB / 0.976 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.9937, allocations: 36.39 kB / 0.976 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.9937, allocations: 16.88 kB / 0.976 GB, free: 14.28 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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.0001484/0.9939, allocations: 206.9 kB / 0.9762 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.994, allocations: 58.92 kB / 0.9763 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006326/0.9946, allocations: 448.2 kB / 0.9767 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005778/0.9952, allocations: 0.6537 MB / 0.9773 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.9952, allocations: 0.8438 kB / 0.9773 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.9954, allocations: 176.5 kB / 0.9775 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/0.9955, allocations: 6.688 kB / 0.9775 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.9958, allocations: 15.81 kB / 0.9775 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.9959, allocations: 16.83 kB / 0.9775 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008745/0.9968, allocations: 0.5134 MB / 0.978 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007328/0.9975, allocations: 0.7582 MB / 0.9788 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001809/0.9977, allocations: 178.4 kB / 0.9789 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003369/0.998, allocations: 356.4 kB / 0.9793 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of Backend: time 4.31e-07/0.998, allocations: 0.875 kB / 0.9793 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002029/1, allocations: 0.8263 MB / 0.9801 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of SimCode: time 0.002632/1.003, allocations: 1.902 MB / 0.9819 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.02038/1.023, allocations: 15.63 MB / 0.9972 GB, free: 10.8 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)