Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction",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.0009658/0.0009658, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001093/0.001093, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.3 MB / 434.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 83.41 MB / 0.5974 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.5558/0.7318, allocations: 155.4 MB / 0.7491 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008795/0.7407, allocations: 4.45 MB / 0.7534 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.7418, allocations: 27.81 kB / 0.7535 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.7433, allocations: 430.7 kB / 0.7539 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004538/0.7479, allocations: 1.243 MB / 0.7551 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.7509, allocations: 0.8535 MB / 0.7559 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002594/0.7535, allocations: 1.12 MB / 0.757 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.7546, allocations: 0.5046 MB / 0.7575 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.7566, allocations: 0.732 MB / 0.7582 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005337/0.7572, allocations: 366.5 kB / 0.7586 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.7572, allocations: 28 kB / 0.7586 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.7592, allocations: 0.6864 MB / 0.7593 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.7594, allocations: 227.4 kB / 0.7595 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.7597, allocations: 173.3 kB / 0.7596 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.7609, allocations: 0.9659 MB / 0.7606 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7609, allocations: 0 / 0.7606 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7609, allocations: 0 / 0.7606 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.527e-06/0.7609, allocations: 0 / 0.7606 GB, free: 4.898 MB / 0.5762 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.001575/0.7625, allocations: 0.9309 MB / 0.7615 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.7625, allocations: 11.97 kB / 0.7615 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.7627, allocations: 98.52 kB / 0.7616 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.7639, allocations: 202.9 kB / 0.7618 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.7649, allocations: 0.5602 MB / 0.7623 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.765, allocations: 41.31 kB / 0.7624 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.7651, allocations: 59.91 kB / 0.7624 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000974/0.7661, allocations: 0.6127 MB / 0.763 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.7661, allocations: 0 / 0.763 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/0.7661, allocations: 23.94 kB / 0.7631 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.7662, allocations: 21.88 kB / 0.7631 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.767, allocations: 0.4892 MB / 0.7636 GB, free: 1.746 MB / 0.5762 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.003057/0.77, allocations: 2.4 MB / 0.7659 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.7707, allocations: 360 kB / 0.7662 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.7711, allocations: 141 kB / 0.7664 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.7711, allocations: 39.72 kB / 0.7664 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.944e-06/0.7711, allocations: 0 / 0.7664 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001152/0.7723, allocations: 0.5496 MB / 0.767 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.7723, allocations: 55.41 kB / 0.767 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/0.773, allocations: 0.4951 MB / 0.7675 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.773, allocations: 29.7 kB / 0.7675 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.7733, allocations: 323.8 kB / 0.7678 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.7734, allocations: 126.2 kB / 0.768 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.7735, allocations: 7.938 kB / 0.768 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.7736, allocations: 370.7 kB / 0.7683 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.774, allocations: 148.8 kB / 0.7685 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.7743, allocations: 251.8 kB / 0.7687 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.7746, allocations: 186.2 kB / 0.7689 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7746, allocations: 0 / 0.7689 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000703/0.7753, allocations: 493.5 kB / 0.7693 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003861/0.7757, allocations: 0.8692 MB / 0.7702 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7758, allocations: 7.984 kB / 0.7702 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.7758, allocations: 4 kB / 0.7702 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.7764, allocations: 99.83 kB / 0.7703 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004221/0.7768, allocations: 0.5943 MB / 0.7709 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.7774, allocations: 83.48 kB / 0.771 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.7775, allocations: 19.98 kB / 0.771 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.7775, allocations: 4 kB / 0.771 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006377/0.7782, allocations: 400.5 kB / 0.7714 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7782, allocations: 4.688 kB / 0.7714 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/0.7782, allocations: 4.281 kB / 0.7714 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.7786, allocations: 99.83 kB / 0.7715 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.7786, allocations: 4 kB / 0.7715 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.7791, allocations: 67.64 kB / 0.7715 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.7791, allocations: 16 kB / 0.7716 GB, free: 9.129 MB / 0.5919 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004771/0.7796, allocations: 304.9 kB / 0.7718 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.7797, allocations: 66.33 kB / 0.7719 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/0.7804, allocations: 448.4 kB / 0.7723 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.7804, allocations: 11.98 kB / 0.7723 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7804, allocations: 0 / 0.7723 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000621/0.7811, allocations: 0.648 MB / 0.773 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.7828, allocations: 1.216 MB / 0.7742 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7828, allocations: 4 kB / 0.7742 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.7833, allocations: 84.44 kB / 0.7742 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.7833, allocations: 4 kB / 0.7743 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.7833, allocations: 12 kB / 0.7743 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00033/0.7836, allocations: 0.6017 MB / 0.7749 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7837, allocations: 0.9375 kB / 0.7749 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009411/0.7846, allocations: 0.7866 MB / 0.7756 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.7849, allocations: 180.2 kB / 0.7758 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.785, allocations: 16 kB / 0.7758 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.7854, allocations: 43.89 kB / 0.7758 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.7855, allocations: 27.97 kB / 0.7759 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.7855, allocations: 8 kB / 0.7759 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004273/0.7859, allocations: 358.8 kB / 0.7762 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/0.786, allocations: 0 / 0.7762 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009487/0.7869, allocations: 343.1 kB / 0.7766 GB, free: 3.707 MB / 0.5919 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001674/0.7886, allocations: 1.907 MB / 0.7784 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.7898, allocations: 0.5895 MB / 0.779 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.7898, allocations: 7.938 kB / 0.779 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.7901, allocations: 179.8 kB / 0.7792 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.7919, allocations: 359.1 kB / 0.7795 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.7977, allocations: 5.043 MB / 0.7844 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.7982, allocations: 0.9569 MB / 0.7854 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007094/0.799, allocations: 204.9 kB / 0.7856 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.7993, allocations: 219.4 kB / 0.7858 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/0.7993, allocations: 0 / 0.7858 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.8326, allocations: 16.92 MB / 0.8023 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/0.833, allocations: 255.5 kB / 0.8025 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/3.01, allocations: 0 / 0.8025 GB, free: 9.215 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: