Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.226/2.226, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001166/0.001166, allocations: 177.1 kB / 498.1 MB, free: 5.734 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.505/1.505, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.000933/0.0009328, allocations: 91.95 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 9.031 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.295, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.044/4.339, allocations: 1.896 GB / 3.119 GB, free: 90.04 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/4.339, allocations: 91.39 kB / 3.119 GB, free: 89.99 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.906/8.245, allocations: 1.01 GB / 4.129 GB, free: 230.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.814e-06/8.245, allocations: 0 / 4.129 GB, free: 230.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001498/8.246, allocations: 31.34 kB / 4.129 GB, free: 230.1 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.007383/8.253, allocations: 1.963 MB / 4.131 GB, free: 229.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/8.253, allocations: 11.78 kB / 4.131 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004775/8.254, allocations: 127.3 kB / 4.131 GB, free: 229.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/8.257, allocations: 0.5563 MB / 4.132 GB, free: 229.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/8.26, allocations: 1.079 MB / 4.133 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006308/8.261, allocations: 199 kB / 4.133 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/8.261, allocations: 80.19 kB / 4.133 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/8.264, allocations: 1.347 MB / 4.134 GB, free: 229.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/8.264, allocations: 0 / 4.134 GB, free: 229.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/8.265, allocations: 34.78 kB / 4.134 GB, free: 229.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.945e-05/8.265, allocations: 41.11 kB / 4.134 GB, free: 229.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/8.268, allocations: 1.506 MB / 4.136 GB, free: 229.1 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.007531/8.276, allocations: 4.197 MB / 4.14 GB, free: 227.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/8.278, allocations: 1.076 MB / 4.141 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008792/8.279, allocations: 0.6124 MB / 4.142 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/8.279, allocations: 42.83 kB / 4.142 GB, free: 226.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.457e-06/8.279, allocations: 2.125 kB / 4.142 GB, free: 226.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.005012/8.284, allocations: 1.986 MB / 4.144 GB, free: 226.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/8.284, allocations: 62.06 kB / 4.144 GB, free: 226.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/8.285, allocations: 0.712 MB / 4.144 GB, free: 226.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/8.286, allocations: 45.05 kB / 4.144 GB, free: 226.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/8.286, allocations: 448 kB / 4.145 GB, free: 226.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/8.286, allocations: 261.5 kB / 4.145 GB, free: 226.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/8.286, allocations: 17.41 kB / 4.145 GB, free: 226.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/8.286, allocations: 329.3 kB / 4.145 GB, free: 226 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/8.288, allocations: 0.5945 MB / 4.146 GB, free: 226 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/8.289, allocations: 0.7375 MB / 4.147 GB, free: 225.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/8.291, allocations: 0.6401 MB / 4.147 GB, free: 225.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/8.291, allocations: 3.938 kB / 4.147 GB, free: 225.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003392/8.294, allocations: 1.473 MB / 4.149 GB, free: 225.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/8.294, allocations: 489.3 kB / 4.149 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/8.294, allocations: 0 / 4.149 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/8.294, allocations: 7.766 kB / 4.149 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/8.296, allocations: 278.7 kB / 4.15 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005225/8.296, allocations: 1.191 MB / 4.151 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/8.298, allocations: 199.7 kB / 4.151 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/8.298, allocations: 39.25 kB / 4.151 GB, free: 224.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/8.298, allocations: 7.453 kB / 4.151 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00296/8.301, allocations: 1.374 MB / 4.152 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/8.301, allocations: 2.109 kB / 4.152 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/8.301, allocations: 6.844 kB / 4.152 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/8.302, allocations: 258.9 kB / 4.153 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/8.302, allocations: 7.625 kB / 4.153 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/8.304, allocations: 205 kB / 4.153 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/8.304, allocations: 37.19 kB / 4.153 GB, free: 224 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.0006989/8.305, allocations: 374.8 kB / 4.153 GB, free: 223.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/8.305, allocations: 108.5 kB / 4.153 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/8.308, allocations: 1.492 MB / 4.155 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/8.309, allocations: 6.75 kB / 4.155 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/8.309, allocations: 2.438 kB / 4.155 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/8.309, allocations: 3.891 kB / 4.155 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00596/8.315, allocations: 2.982 MB / 4.158 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/8.315, allocations: 10.61 kB / 4.158 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/8.316, allocations: 261.4 kB / 4.158 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/8.316, allocations: 7.719 kB / 4.158 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/8.316, allocations: 29.25 kB / 4.158 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000416/8.316, allocations: 1.195 MB / 4.159 GB, free: 222.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/8.316, allocations: 7.812 kB / 4.159 GB, free: 222.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/8.32, allocations: 1.765 MB / 4.161 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/8.321, allocations: 322.5 kB / 4.161 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/8.321, allocations: 23.34 kB / 4.161 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/8.323, allocations: 164.2 kB / 4.161 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/8.323, allocations: 60.42 kB / 4.161 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/8.323, allocations: 46.77 kB / 4.161 GB, free: 221.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009139/8.324, allocations: 0.5559 MB / 4.162 GB, free: 221.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.324, allocations: 0 / 4.162 GB, free: 221.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003041/8.327, allocations: 0.763 MB / 4.163 GB, free: 221.2 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.008118/8.335, allocations: 5.618 MB / 4.168 GB, free: 218.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006032/8.341, allocations: 2.21 MB / 4.17 GB, free: 218.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/8.341, allocations: 2.969 kB / 4.17 GB, free: 218.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/8.343, allocations: 0.7332 MB / 4.171 GB, free: 218.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/8.346, allocations: 0.5083 MB / 4.172 GB, free: 218.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/8.363, allocations: 4.433 MB / 4.176 GB, free: 216.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008033/8.364, allocations: 1.114 MB / 4.177 GB, free: 215.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002215/8.366, allocations: 415.2 kB / 4.177 GB, free: 215.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007153/8.367, allocations: 398.6 kB / 4.178 GB, free: 215.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.102e-06/8.367, allocations: 0 / 4.178 GB, free: 215.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08402/8.451, allocations: 62.3 MB / 4.239 GB, free: 214.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/8.451, allocations: 287.5 kB / 4.239 GB, free: 214.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/12.49, allocations: 0 / 4.239 GB, free: 214.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat does not exist to compare? outputFormat=mat