Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_latest_Buildings_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.001096/0.001102, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001288/0.001288, allocations: 168.7 kB / 15.95 MB, free: 204 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.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.636/2.636, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 19.94 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9054/0.9058, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1988/1.105, allocations: 169.9 MB / 1.147 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00697/1.112, allocations: 4.298 MB / 1.151 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/1.112, allocations: 23.81 kB / 1.151 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008463/1.113, allocations: 274.2 kB / 1.152 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002469/1.116, allocations: 1.006 MB / 1.153 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/1.117, allocations: 0.5823 MB / 1.153 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002455/1.12, allocations: 2.303 MB / 1.155 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/1.121, allocations: 499.3 kB / 1.156 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/1.122, allocations: 0.8559 MB / 1.157 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006962/1.123, allocations: 0.5564 MB / 1.157 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/1.123, allocations: 28 kB / 1.157 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/1.125, allocations: 0.8691 MB / 1.158 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/1.125, allocations: 243.3 kB / 1.158 GB, free: 328 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/1.125, allocations: 173.3 kB / 1.158 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/1.127, allocations: 1.009 MB / 1.159 GB, free: 15.13 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.127, allocations: 0 / 1.159 GB, free: 15.13 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.114e-06/1.127, allocations: 0 / 1.159 GB, free: 15.13 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.127, allocations: 0 / 1.159 GB, free: 15.13 MB / 0.92 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.001606/1.128, allocations: 0.962 MB / 1.16 GB, free: 14.12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.128, allocations: 12.03 kB / 1.16 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/1.129, allocations: 94.5 kB / 1.161 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/1.13, allocations: 206.9 kB / 1.161 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009823/1.131, allocations: 0.5563 MB / 1.161 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/1.131, allocations: 41.31 kB / 1.161 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/1.131, allocations: 52 kB / 1.161 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/1.132, allocations: 0.6167 MB / 1.162 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.132, allocations: 0 / 1.162 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/1.132, allocations: 23.95 kB / 1.162 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/1.132, allocations: 17.31 kB / 1.162 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008302/1.133, allocations: 0.493 MB / 1.162 GB, free: 11.95 MB / 0.92 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.002831/1.136, allocations: 2.392 MB / 1.165 GB, free: 9.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/1.137, allocations: 362.6 kB / 1.165 GB, free: 8.984 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/1.137, allocations: 213.2 kB / 1.165 GB, free: 8.773 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005923/1.138, allocations: 323.2 kB / 1.166 GB, free: 8.402 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.138, allocations: 38.42 kB / 1.166 GB, free: 8.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 1.833e-06/1.138, allocations: 0 / 1.166 GB, free: 8.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=36): time 0.001104/1.139, allocations: 0.5489 MB / 1.166 GB, free: 7.801 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.139, allocations: 55.41 kB / 1.166 GB, free: 7.734 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/1.139, allocations: 0.495 MB / 1.167 GB, free: 7.227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/1.139, allocations: 29.7 kB / 1.167 GB, free: 7.191 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/1.14, allocations: 315.9 kB / 1.167 GB, free: 6.879 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/1.14, allocations: 138 kB / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/1.14, allocations: 4 kB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.14, allocations: 366.8 kB / 1.168 GB, free: 6.371 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/1.14, allocations: 144.8 kB / 1.168 GB, free: 6.227 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/1.14, allocations: 255.7 kB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/1.141, allocations: 181.6 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.141, allocations: 4 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006892/1.141, allocations: 493.4 kB / 1.169 GB, free: 5.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-05/1.142, allocations: 149 kB / 1.169 GB, free: 5.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.142, allocations: 4 kB / 1.169 GB, free: 5.086 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.142, allocations: 4 kB / 1.169 GB, free: 5.082 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/1.142, allocations: 99.88 kB / 1.169 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003585/1.143, allocations: 0.5977 MB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/1.143, allocations: 83.52 kB / 1.17 GB, free: 4.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/1.143, allocations: 16 kB / 1.17 GB, free: 4.266 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/1.143, allocations: 5.562 kB / 1.17 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006199/1.144, allocations: 411.6 kB / 1.17 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/1.144, allocations: 0 / 1.17 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/1.144, allocations: 4 kB / 1.17 GB, free: 3.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/1.144, allocations: 87.91 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.144, allocations: 7.984 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/1.145, allocations: 71.81 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/1.145, allocations: 19.98 kB / 1.17 GB, free: 3.672 MB / 0.92 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.0003225/1.145, allocations: 304.9 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/1.145, allocations: 59.3 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006964/1.146, allocations: 451.6 kB / 1.171 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/1.146, allocations: 4 kB / 1.171 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.146, allocations: 3.938 kB / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005905/1.147, allocations: 0.648 MB / 1.172 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/1.149, allocations: 1.21 MB / 1.173 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.149, allocations: 4 kB / 1.173 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/1.149, allocations: 87.89 kB / 1.173 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.149, allocations: 7.984 kB / 1.173 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/1.149, allocations: 20.16 kB / 1.173 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003459/1.15, allocations: 0.586 MB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.15, allocations: 0 / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/1.15, allocations: 0.7167 MB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/1.151, allocations: 176.4 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/1.151, allocations: 8 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/1.151, allocations: 45.36 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/1.151, allocations: 27.91 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/1.151, allocations: 23.98 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004193/1.152, allocations: 350.8 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.152, allocations: 0 / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001008/1.153, allocations: 351.2 kB / 1.175 GB, free: 14.37 MB / 0.9356 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.00153/1.154, allocations: 1.356 MB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.155, allocations: 0.5824 MB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.155, allocations: 0 / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/1.156, allocations: 187.7 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.157, allocations: 354.6 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/1.163, allocations: 3.708 MB / 1.181 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/1.163, allocations: 0.9453 MB / 1.182 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000743/1.164, allocations: 204.9 kB / 1.182 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.164, allocations: 215.4 kB / 1.182 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of SimCode: time 1.142e-06/1.164, allocations: 4 kB / 1.182 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/1.198, allocations: 16.91 MB / 1.199 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.199, allocations: 254.4 kB / 1.199 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.367, allocations: 0 / 1.199 GB, free: 5.75 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat does not exist to compare? outputFormat=mat