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.001171/0.001171, allocations: 105.2 kB / 16.41 MB, free: 6.488 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.001217/0.001217, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241 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.002182/0.002182, allocations: 282.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9759/0.9759, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 95.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4949, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MassFraction): time 0.1974/0.6923, allocations: 186.8 MB / 0.9495 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007804/0.7002, allocations: 4.581 MB / 0.9539 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.7013, allocations: 35.81 kB / 0.954 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.7027, allocations: 413.4 kB / 0.9544 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.7064, allocations: 1.334 MB / 0.9557 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.7087, allocations: 0.7661 MB / 0.9564 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4473/1.156, allocations: 1.957 MB / 0.9583 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/1.157, allocations: 0.6456 MB / 0.9589 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/1.161, allocations: 1.071 MB / 0.96 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/1.162, allocations: 0.59 MB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/1.162, allocations: 63.56 kB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/1.165, allocations: 1.385 MB / 0.962 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003846/1.166, allocations: 284 kB / 0.9623 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005392/1.166, allocations: 419.9 kB / 0.9627 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002475/1.169, allocations: 1.479 MB / 0.9641 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.169, allocations: 0.75 kB / 0.9641 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/1.169, allocations: 2.062 kB / 0.9641 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.146e-05/1.169, allocations: 0 / 0.9641 GB, free: 2.992 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.001792/1.171, allocations: 1.097 MB / 0.9652 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.171, allocations: 9.969 kB / 0.9652 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/1.172, allocations: 204.5 kB / 0.9654 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009178/1.173, allocations: 0.6091 MB / 0.966 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.173, allocations: 40.03 kB / 0.966 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/1.173, allocations: 60.73 kB / 0.9661 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/1.174, allocations: 0.6194 MB / 0.9667 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/1.174, allocations: 1.875 kB / 0.9667 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/1.174, allocations: 25.22 kB / 0.9667 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/1.174, allocations: 18.62 kB / 0.9667 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007046/1.175, allocations: 0.4921 MB / 0.9672 GB, free: 17.96 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.002737/1.178, allocations: 2.403 MB / 0.9695 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/1.178, allocations: 360.7 kB / 0.9699 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/1.178, allocations: 213.1 kB / 0.9701 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005411/1.179, allocations: 305.8 kB / 0.9704 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/1.179, allocations: 40.23 kB / 0.9704 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/1.179, allocations: 0 / 0.9704 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.0009651/1.18, allocations: 0.5504 MB / 0.971 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/1.18, allocations: 57.75 kB / 0.971 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/1.18, allocations: 0.4965 MB / 0.9715 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/1.18, allocations: 32.95 kB / 0.9715 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/1.181, allocations: 323.1 kB / 0.9718 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/1.181, allocations: 129.1 kB / 0.972 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/1.181, allocations: 86.56 kB / 0.972 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.181, allocations: 366 kB / 0.9724 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/1.181, allocations: 152.8 kB / 0.9725 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/1.181, allocations: 261.4 kB / 0.9728 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/1.182, allocations: 404.3 kB / 0.9732 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.182, allocations: 3.219 kB / 0.9732 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000603/1.183, allocations: 490.8 kB / 0.9736 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.183, allocations: 8.25 kB / 0.9736 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/1.183, allocations: 3.75 kB / 0.9737 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.183, allocations: 5.5 kB / 0.9737 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/1.183, allocations: 103.8 kB / 0.9738 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003864/1.184, allocations: 0.5911 MB / 0.9743 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/1.184, allocations: 48.38 kB / 0.9744 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/1.184, allocations: 20 kB / 0.9744 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003573/1.184, allocations: 331.3 kB / 0.9747 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002506/1.185, allocations: 261.3 kB / 0.975 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004508/1.185, allocations: 398.8 kB / 0.9753 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-06/1.185, allocations: 0.8438 kB / 0.9753 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0005962/1.186, allocations: 489.2 kB / 0.9758 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/1.186, allocations: 9.938 kB / 0.9758 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/1.186, allocations: 4.094 kB / 0.9758 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/1.186, allocations: 3.812 kB / 0.9758 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/1.186, allocations: 86.67 kB / 0.9759 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/1.186, allocations: 9.562 kB / 0.9759 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/1.186, allocations: 32.05 kB / 0.976 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/1.186, allocations: 17.06 kB / 0.976 GB, free: 14.24 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.0001474/1.187, allocations: 207.3 kB / 0.9762 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/1.187, allocations: 62.5 kB / 0.9762 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006257/1.187, allocations: 449.7 kB / 0.9767 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.187, allocations: 3.5 kB / 0.9767 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/1.187, allocations: 3.562 kB / 0.9767 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005812/1.188, allocations: 0.6509 MB / 0.9773 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/1.189, allocations: 1.217 MB / 0.9785 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.189, allocations: 128 / 0.9785 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/1.19, allocations: 94.02 kB / 0.9786 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.19, allocations: 3.281 kB / 0.9786 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/1.19, allocations: 20.36 kB / 0.9786 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002981/1.19, allocations: 0.5921 MB / 0.9792 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.19, allocations: 5.625 kB / 0.9792 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/1.191, allocations: 0.7099 MB / 0.9799 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/1.191, allocations: 180.2 kB / 0.98 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/1.191, allocations: 12.12 kB / 0.9801 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/1.192, allocations: 15.55 kB / 0.9801 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/1.192, allocations: 26.23 kB / 0.9801 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/1.192, allocations: 13.81 kB / 0.9801 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000327/1.192, allocations: 361.4 kB / 0.9805 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.192, allocations: 0.7188 kB / 0.9805 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008354/1.193, allocations: 342.6 kB / 0.9808 GB, free: 12.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * 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 (35): * Single equations (assignments): 34 * 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.0004648/1.193, allocations: 201.4 kB / 0.981 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009425/1.194, allocations: 0.5944 MB / 0.9816 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.194, allocations: 3.031 kB / 0.9816 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/1.195, allocations: 186.7 kB / 0.9817 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.196, allocations: 361.6 kB / 0.9821 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/1.198, allocations: 1.382 MB / 0.9834 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/1.199, allocations: 0.9399 MB / 0.9843 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.199, allocations: 53.47 kB / 0.9844 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/1.199, allocations: 0 / 0.9844 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.01458/1.213, allocations: 12.63 MB / 0.9967 GB, free: 9.668 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)