Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 175 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 100.3 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 13.39 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2894, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.992/4.281, allocations: 1.896 GB / 3.119 GB, free: 90.76 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/4.282, allocations: 87.77 kB / 3.119 GB, free: 90.71 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.9/8.181, allocations: 1.01 GB / 4.129 GB, free: 230.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.657e-06/8.181, allocations: 0 / 4.129 GB, free: 230.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002541/8.182, allocations: 34.88 kB / 4.129 GB, free: 230.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.009405/8.191, allocations: 1.969 MB / 4.131 GB, free: 230.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001042/8.191, allocations: 10.84 kB / 4.131 GB, free: 230.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008373/8.192, allocations: 133.6 kB / 4.131 GB, free: 230 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/8.196, allocations: 0.545 MB / 4.132 GB, free: 229.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/8.201, allocations: 1.08 MB / 4.133 GB, free: 229.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007374/8.201, allocations: 198.2 kB / 4.133 GB, free: 229.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/8.202, allocations: 85.5 kB / 4.133 GB, free: 229.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/8.205, allocations: 1.34 MB / 4.134 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/8.205, allocations: 0 / 4.134 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/8.205, allocations: 34.89 kB / 4.134 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.877e-05/8.206, allocations: 44.42 kB / 4.134 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/8.209, allocations: 1.503 MB / 4.136 GB, free: 229.6 MB / 1.167 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.008301/8.218, allocations: 4.202 MB / 4.14 GB, free: 228 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/8.22, allocations: 1.066 MB / 4.141 GB, free: 228 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009761/8.221, allocations: 0.6071 MB / 4.142 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/8.221, allocations: 54.55 kB / 4.142 GB, free: 227.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.547e-06/8.221, allocations: 0 / 4.142 GB, free: 227.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.005632/8.227, allocations: 1.987 MB / 4.144 GB, free: 227.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/8.227, allocations: 59.22 kB / 4.144 GB, free: 227.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/8.228, allocations: 0.7078 MB / 4.144 GB, free: 227.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/8.229, allocations: 39.48 kB / 4.144 GB, free: 227.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/8.229, allocations: 448.9 kB / 4.145 GB, free: 226.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/8.229, allocations: 262.5 kB / 4.145 GB, free: 226.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/8.229, allocations: 13.5 kB / 4.145 GB, free: 226.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/8.229, allocations: 338.1 kB / 4.145 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/8.231, allocations: 0.5881 MB / 4.146 GB, free: 226.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/8.232, allocations: 0.7442 MB / 4.147 GB, free: 226.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/8.234, allocations: 0.6332 MB / 4.147 GB, free: 226.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/8.234, allocations: 3.656 kB / 4.147 GB, free: 226.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003275/8.237, allocations: 1.483 MB / 4.149 GB, free: 226.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/8.237, allocations: 479.4 kB / 4.149 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/8.237, allocations: 7.234 kB / 4.149 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/8.237, allocations: 7.734 kB / 4.149 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/8.239, allocations: 279.1 kB / 4.15 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008762/8.24, allocations: 1.188 MB / 4.151 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/8.241, allocations: 209.3 kB / 4.151 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/8.242, allocations: 39.02 kB / 4.151 GB, free: 224.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/8.242, allocations: 7.891 kB / 4.151 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003368/8.245, allocations: 1.371 MB / 4.152 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/8.245, allocations: 7.469 kB / 4.152 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/8.245, allocations: 3.688 kB / 4.152 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/8.246, allocations: 263.6 kB / 4.153 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/8.246, allocations: 3.531 kB / 4.153 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/8.248, allocations: 201.4 kB / 4.153 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/8.248, allocations: 40.02 kB / 4.153 GB, free: 224.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001005/8.249, allocations: 370.6 kB / 4.153 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/8.25, allocations: 106.4 kB / 4.153 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/8.254, allocations: 1.495 MB / 4.155 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/8.254, allocations: 7.688 kB / 4.155 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/8.254, allocations: 5.625 kB / 4.155 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/8.254, allocations: 3.938 kB / 4.155 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007581/8.261, allocations: 2.988 MB / 4.158 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/8.261, allocations: 7.75 kB / 4.158 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/8.263, allocations: 255.2 kB / 4.158 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.091e-05/8.263, allocations: 9.406 kB / 4.158 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-05/8.263, allocations: 24.89 kB / 4.158 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005391/8.264, allocations: 1.199 MB / 4.159 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/8.264, allocations: 4.625 kB / 4.159 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/8.267, allocations: 1.773 MB / 4.161 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009584/8.268, allocations: 315.1 kB / 4.161 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/8.268, allocations: 18.69 kB / 4.161 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/8.27, allocations: 172.3 kB / 4.161 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/8.27, allocations: 60.05 kB / 4.161 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.336e-05/8.27, allocations: 40.91 kB / 4.161 GB, free: 221.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008348/8.271, allocations: 0.559 MB / 4.162 GB, free: 221.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/8.271, allocations: 3.156 kB / 4.162 GB, free: 221.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002659/8.274, allocations: 0.7566 MB / 4.163 GB, free: 221.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00738/8.281, allocations: 5.615 MB / 4.168 GB, free: 218.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005529/8.287, allocations: 2.218 MB / 4.17 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/8.287, allocations: 0 / 4.17 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/8.288, allocations: 0.7299 MB / 4.171 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/8.291, allocations: 0.5053 MB / 4.172 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/8.31, allocations: 4.441 MB / 4.176 GB, free: 216.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/8.311, allocations: 1.116 MB / 4.177 GB, free: 216 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002536/8.314, allocations: 418.3 kB / 4.177 GB, free: 216 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007843/8.315, allocations: 392.5 kB / 4.178 GB, free: 216 MB / 1.167 GB Notification: Performance of SimCode: time 2.696e-06/8.315, allocations: 0 / 4.178 GB, free: 216 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/8.415, allocations: 62.3 MB / 4.239 GB, free: 215 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/8.415, allocations: 275.2 kB / 4.239 GB, free: 214.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.117/12.53, allocations: 0 / 4.239 GB, free: 214.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat does not exist to compare? outputFormat=mat