Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.45/0.45, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 349.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.001181, allocations: 114.1 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 55.92 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3474, allocations: 70.07 MB / 0.5575 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.5421/0.8896, allocations: 184.5 MB / 0.7377 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007915/0.8975, allocations: 4.615 MB / 0.7422 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.8992, allocations: 28.19 kB / 0.7422 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.9005, allocations: 355.9 kB / 0.7426 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.9039, allocations: 1.26 MB / 0.7438 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.9065, allocations: 0.6763 MB / 0.7445 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00439/0.9109, allocations: 2.76 MB / 0.7472 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.912, allocations: 0.5525 MB / 0.7477 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/0.9156, allocations: 0.97 MB / 0.7487 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.9167, allocations: 0.616 MB / 0.7493 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.096e-05/0.9168, allocations: 33.91 kB / 0.7493 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.9197, allocations: 1.553 MB / 0.7508 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.92, allocations: 259.2 kB / 0.7511 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.9205, allocations: 390 kB / 0.7514 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.9225, allocations: 1.514 MB / 0.7529 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.9225, allocations: 0 / 0.7529 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9225, allocations: 0 / 0.7529 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.9225, allocations: 0 / 0.7529 GB, free: 0.9297 MB / 0.5105 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.00163/0.9242, allocations: 1.098 MB / 0.754 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.9242, allocations: 12.28 kB / 0.754 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.9253, allocations: 201 kB / 0.7542 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009007/0.9263, allocations: 0.5893 MB / 0.7548 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.9263, allocations: 39.84 kB / 0.7548 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.9264, allocations: 61.72 kB / 0.7549 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.9272, allocations: 0.6183 MB / 0.7555 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.9273, allocations: 0 / 0.7555 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.9273, allocations: 19.25 kB / 0.7555 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.9274, allocations: 18.06 kB / 0.7555 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.928, allocations: 0.5013 MB / 0.756 GB, free: 15.84 MB / 0.5261 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.002545/0.9306, allocations: 2.388 MB / 0.7583 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.9311, allocations: 357.3 kB / 0.7587 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.9314, allocations: 211.5 kB / 0.7589 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/0.9319, allocations: 313.3 kB / 0.7592 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.932, allocations: 39.28 kB / 0.7592 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.932, allocations: 0 / 0.7592 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.0009849/0.933, allocations: 0.5464 MB / 0.7597 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.933, allocations: 59.91 kB / 0.7598 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.9335, allocations: 0.5 MB / 0.7603 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.9336, allocations: 32.39 kB / 0.7603 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.9337, allocations: 318.7 kB / 0.7606 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.499e-05/0.9338, allocations: 125.4 kB / 0.7607 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.934, allocations: 90.19 kB / 0.7608 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9341, allocations: 363 kB / 0.7612 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.9343, allocations: 152.3 kB / 0.7613 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.9346, allocations: 265.9 kB / 0.7616 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.9352, allocations: 412.1 kB / 0.7619 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9352, allocations: 4 kB / 0.762 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006221/0.9358, allocations: 491.9 kB / 0.7624 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.9358, allocations: 5.594 kB / 0.7624 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9358, allocations: 2.406 kB / 0.7624 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9359, allocations: 5.656 kB / 0.7624 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.9364, allocations: 108.3 kB / 0.7625 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003483/0.9368, allocations: 0.5961 MB / 0.7631 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.9373, allocations: 82.48 kB / 0.7632 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.9374, allocations: 23.14 kB / 0.7632 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003725/0.9378, allocations: 324.1 kB / 0.7635 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002763/0.9381, allocations: 264.5 kB / 0.7638 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000448/0.9385, allocations: 405.7 kB / 0.7642 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.9385, allocations: 3.938 kB / 0.7642 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006329/0.9392, allocations: 491.9 kB / 0.7646 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.9392, allocations: 7.875 kB / 0.7647 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.9392, allocations: 3.734 kB / 0.7647 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.9392, allocations: 4.312 kB / 0.7647 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.9395, allocations: 86.23 kB / 0.7647 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9395, allocations: 8.219 kB / 0.7647 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.9401, allocations: 64.5 kB / 0.7648 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.9401, allocations: 24.08 kB / 0.7648 GB, free: 12.02 MB / 0.5261 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.0001485/0.9403, allocations: 210.8 kB / 0.765 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.9404, allocations: 54.62 kB / 0.7651 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006408/0.941, allocations: 441 kB / 0.7655 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.941, allocations: 2.094 kB / 0.7655 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.941, allocations: 0 / 0.7655 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005236/0.9416, allocations: 0.6637 MB / 0.7662 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.9431, allocations: 1.204 MB / 0.7673 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9431, allocations: 0 / 0.7673 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.9436, allocations: 102.5 kB / 0.7674 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.9436, allocations: 6.344 kB / 0.7674 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.9436, allocations: 11.94 kB / 0.7674 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003103/0.944, allocations: 0.5882 MB / 0.768 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.944, allocations: 5.031 kB / 0.768 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007245/0.9512, allocations: 3.732 MB / 0.7717 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.9516, allocations: 174 kB / 0.7718 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/0.9516, allocations: 17.7 kB / 0.7719 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.9521, allocations: 42.95 kB / 0.7719 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.9522, allocations: 27.78 kB / 0.7719 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.9522, allocations: 15.92 kB / 0.7719 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004376/0.9526, allocations: 356.3 kB / 0.7723 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9526, allocations: 1.844 kB / 0.7723 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002138/0.9548, allocations: 0.5386 MB / 0.7728 GB, free: 8.668 MB / 0.5261 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.000587/0.9554, allocations: 204.9 kB / 0.773 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.9567, allocations: 0.5933 MB / 0.7736 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9567, allocations: 0 / 0.7736 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.957, allocations: 187.1 kB / 0.7738 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.9588, allocations: 373 kB / 0.7741 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.9611, allocations: 1.847 MB / 0.7759 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.9615, allocations: 0.949 MB / 0.7768 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006964/0.9622, allocations: 213.1 kB / 0.777 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.9624, allocations: 53.7 kB / 0.7771 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/0.9624, allocations: 4 kB / 0.7771 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.02062/0.983, allocations: 12.63 MB / 0.7894 GB, free: 13.02 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)