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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IBPSA_latest_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.001052/0.001052, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 171 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.438/2.438, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.169/1.169, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005453/0.0005454, allocations: 8.906 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2623, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.8307/1.093, allocations: 155.3 MB / 0.7084 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01179/1.105, allocations: 4.449 MB / 0.7127 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/1.106, allocations: 23.81 kB / 0.7128 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/1.109, allocations: 430.1 kB / 0.7132 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006266/1.115, allocations: 1.246 MB / 0.7144 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/1.119, allocations: 0.8507 MB / 0.7152 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003244/1.122, allocations: 1.124 MB / 0.7163 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/1.124, allocations: 0.4924 MB / 0.7168 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/1.127, allocations: 0.7281 MB / 0.7175 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/1.128, allocations: 374.5 kB / 0.7179 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/1.128, allocations: 28 kB / 0.7179 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/1.131, allocations: 0.6825 MB / 0.7185 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/1.131, allocations: 227.4 kB / 0.7188 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004023/1.131, allocations: 173.3 kB / 0.7189 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/1.133, allocations: 0.9183 MB / 0.7198 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/1.133, allocations: 0 / 0.7198 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.865e-06/1.133, allocations: 0 / 0.7198 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.42e-05/1.133, allocations: 4 kB / 0.7198 GB, free: 3.223 MB / 0.5294 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.002346/1.136, allocations: 0.9355 MB / 0.7207 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/1.136, allocations: 8.031 kB / 0.7208 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/1.136, allocations: 94.52 kB / 0.7208 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/1.138, allocations: 206.9 kB / 0.721 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/1.14, allocations: 0.5563 MB / 0.7216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/1.14, allocations: 45.31 kB / 0.7216 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.14, allocations: 53.75 kB / 0.7217 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/1.142, allocations: 0.6166 MB / 0.7223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.142, allocations: 3.938 kB / 0.7223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/1.142, allocations: 24 kB / 0.7223 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/1.142, allocations: 21.3 kB / 0.7223 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/1.143, allocations: 497 kB / 0.7228 GB, free: 68 kB / 0.5294 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.004827/1.148, allocations: 2.4 MB / 0.7251 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.149, allocations: 367.6 kB / 0.7255 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/1.15, allocations: 137 kB / 0.7256 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.15, allocations: 42.5 kB / 0.7257 GB, free: 12.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=36): time 3.937e-06/1.15, allocations: 0 / 0.7257 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=36): time 0.001795/1.152, allocations: 0.5449 MB / 0.7262 GB, free: 12.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/1.152, allocations: 55.41 kB / 0.7263 GB, free: 12.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/1.153, allocations: 498.9 kB / 0.7267 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/1.153, allocations: 33.7 kB / 0.7268 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/1.153, allocations: 327.8 kB / 0.7271 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/1.153, allocations: 122.2 kB / 0.7272 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/1.153, allocations: 12 kB / 0.7272 GB, free: 11.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002241/1.153, allocations: 358.8 kB / 0.7275 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/1.154, allocations: 148.8 kB / 0.7277 GB, free: 10.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/1.154, allocations: 255.7 kB / 0.7279 GB, free: 10.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/1.155, allocations: 190.2 kB / 0.7281 GB, free: 10.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.155, allocations: 0 / 0.7281 GB, free: 10.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001251/1.156, allocations: 485.5 kB / 0.7286 GB, free: 9.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006627/1.157, allocations: 0.8732 MB / 0.7294 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.157, allocations: 4 kB / 0.7294 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.157, allocations: 4 kB / 0.7294 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009068/1.158, allocations: 107.8 kB / 0.7295 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005496/1.158, allocations: 0.5946 MB / 0.7301 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.159, allocations: 75.58 kB / 0.7302 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/1.159, allocations: 16 kB / 0.7302 GB, free: 8.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/1.159, allocations: 7.938 kB / 0.7302 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009973/1.16, allocations: 415.7 kB / 0.7306 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.161, allocations: 4 kB / 0.7306 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/1.161, allocations: 4 kB / 0.7306 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/1.161, allocations: 83.92 kB / 0.7307 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/1.161, allocations: 19.91 kB / 0.7307 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008831/1.162, allocations: 67.94 kB / 0.7308 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/1.162, allocations: 23.98 kB / 0.7308 GB, free: 7.441 MB / 0.545 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.0006585/1.163, allocations: 302.7 kB / 0.7311 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/1.163, allocations: 55.34 kB / 0.7311 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/1.164, allocations: 452.6 kB / 0.7316 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.164, allocations: 3.953 kB / 0.7316 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.164, allocations: 4 kB / 0.7316 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/1.165, allocations: 0.6541 MB / 0.7322 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/1.168, allocations: 1.212 MB / 0.7334 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.168, allocations: 4 kB / 0.7334 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/1.169, allocations: 87.89 kB / 0.7335 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.918e-05/1.169, allocations: 12.2 kB / 0.7335 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/1.169, allocations: 8 kB / 0.7335 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00043/1.169, allocations: 0.586 MB / 0.7341 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.169, allocations: 7.969 kB / 0.7341 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.171, allocations: 0.7911 MB / 0.7349 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/1.171, allocations: 180.4 kB / 0.735 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.171, allocations: 8 kB / 0.735 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007104/1.172, allocations: 47.75 kB / 0.7351 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/1.172, allocations: 27.92 kB / 0.7351 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/1.172, allocations: 19.98 kB / 0.7351 GB, free: 2.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006412/1.173, allocations: 350.8 kB / 0.7355 GB, free: 2.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.173, allocations: 4 kB / 0.7355 GB, free: 2.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001573/1.175, allocations: 347.2 kB / 0.7358 GB, free: 2.016 MB / 0.545 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.002506/1.177, allocations: 1.902 MB / 0.7377 GB, free: 52 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00183/1.179, allocations: 0.5814 MB / 0.7382 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.179, allocations: 0 / 0.7382 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004941/1.179, allocations: 189.8 kB / 0.7384 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.182, allocations: 353.1 kB / 0.7387 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.192, allocations: 5.032 MB / 0.7437 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/1.193, allocations: 0.957 MB / 0.7446 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00139/1.195, allocations: 212.8 kB / 0.7448 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/1.195, allocations: 211.4 kB / 0.745 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.386e-06/1.195, allocations: 3.938 kB / 0.745 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07406/1.269, allocations: 16.88 MB / 0.7615 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000346/1.27, allocations: 238.7 kB / 0.7617 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.805/5.074, allocations: 0 / 0.7617 GB, free: 7.609 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: