Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.313/2.313, allocations: 390.5 MB / 398 MB, free: 10.95 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.001062/0.001062, allocations: 180.6 kB / 491.2 MB, free: 1.559 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.487/1.487, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009312/0.000931, allocations: 91.62 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.318e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3101, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.602/6.912, allocations: 1.896 GB / 3.108 GB, free: 429.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/6.912, allocations: 88.84 kB / 3.108 GB, free: 429.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.107/11.02, allocations: 0.9984 GB / 4.107 GB, free: 222.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.327e-06/11.02, allocations: 0 / 4.107 GB, free: 222.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002216/11.02, allocations: 37.11 kB / 4.107 GB, free: 222.3 MB / 1.151 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.007701/11.03, allocations: 1.788 MB / 4.109 GB, free: 221.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/11.03, allocations: 7.594 kB / 4.109 GB, free: 221.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003682/11.03, allocations: 0.5427 MB / 4.109 GB, free: 221.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/11.03, allocations: 1.074 MB / 4.11 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006332/11.03, allocations: 169.4 kB / 4.11 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003896/11.04, allocations: 54.78 kB / 4.11 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002254/11.04, allocations: 0.9904 MB / 4.111 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/11.04, allocations: 1.032 MB / 4.112 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/11.04, allocations: 0 / 4.112 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/11.04, allocations: 0 / 4.112 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/11.04, allocations: 43.28 kB / 4.112 GB, free: 221.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006964/11.05, allocations: 4.024 MB / 4.116 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/11.05, allocations: 0.7308 MB / 4.117 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/11.05, allocations: 497.7 kB / 4.118 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009523/11.05, allocations: 0.6127 MB / 4.118 GB, free: 219 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/11.05, allocations: 42.56 kB / 4.118 GB, free: 219 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.806e-06/11.05, allocations: 2.625 kB / 4.118 GB, free: 219 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002411/11.05, allocations: 1.131 MB / 4.119 GB, free: 218.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/11.05, allocations: 58.72 kB / 4.119 GB, free: 218.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/11.05, allocations: 0.5666 MB / 4.12 GB, free: 218.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.419e-05/11.05, allocations: 29.67 kB / 4.12 GB, free: 218.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/11.05, allocations: 453.8 kB / 4.12 GB, free: 218.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/11.05, allocations: 246.7 kB / 4.121 GB, free: 218.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/11.05, allocations: 6.5 kB / 4.121 GB, free: 218.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/11.05, allocations: 333.4 kB / 4.121 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/11.05, allocations: 400.3 kB / 4.121 GB, free: 218.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/11.05, allocations: 0.522 MB / 4.122 GB, free: 217.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/11.06, allocations: 0.583 MB / 4.122 GB, free: 217.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/11.06, allocations: 3.953 kB / 4.122 GB, free: 217.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00202/11.06, allocations: 1.174 MB / 4.124 GB, free: 217.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/11.06, allocations: 485.3 kB / 4.124 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/11.06, allocations: 3.25 kB / 4.124 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/11.06, allocations: 3.344 kB / 4.124 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/11.06, allocations: 282.3 kB / 4.124 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005788/11.06, allocations: 1.207 MB / 4.125 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/11.06, allocations: 174.8 kB / 4.126 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/11.06, allocations: 40.33 kB / 4.126 GB, free: 216.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/11.06, allocations: 5.438 kB / 4.126 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001867/11.06, allocations: 1.061 MB / 4.127 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/11.06, allocations: 3.5 kB / 4.127 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/11.06, allocations: 3.781 kB / 4.127 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/11.06, allocations: 258.7 kB / 4.127 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/11.06, allocations: 7.281 kB / 4.127 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/11.07, allocations: 166.4 kB / 4.127 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.951e-05/11.07, allocations: 41.75 kB / 4.127 GB, free: 216.1 MB / 1.151 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 () * 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.0002871/11.07, allocations: 122.9 kB / 4.127 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001989/11.07, allocations: 1.077 MB / 4.128 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/11.07, allocations: 95 kB / 4.128 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/11.07, allocations: 1.201 MB / 4.13 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/11.07, allocations: 11.33 kB / 4.13 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/11.07, allocations: 3.031 kB / 4.13 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/11.07, allocations: 3.797 kB / 4.13 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/11.08, allocations: 2.584 MB / 4.132 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/11.08, allocations: 5.438 kB / 4.132 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/11.08, allocations: 255 kB / 4.132 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/11.08, allocations: 9.547 kB / 4.132 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/11.08, allocations: 16.94 kB / 4.132 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004296/11.08, allocations: 1.195 MB / 4.134 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/11.08, allocations: 6.625 kB / 4.134 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/11.08, allocations: 1.49 MB / 4.135 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/11.08, allocations: 306 kB / 4.135 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/11.08, allocations: 11.73 kB / 4.135 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/11.08, allocations: 154.4 kB / 4.135 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/11.08, allocations: 61.28 kB / 4.136 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/11.08, allocations: 38.17 kB / 4.136 GB, free: 213.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005699/11.08, allocations: 446.3 kB / 4.136 GB, free: 213.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/11.08, allocations: 0 / 4.136 GB, free: 213.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002162/11.08, allocations: 0.6808 MB / 4.137 GB, free: 213.3 MB / 1.151 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 () * 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.006135/11.09, allocations: 5.583 MB / 4.142 GB, free: 210.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002818/11.09, allocations: 1.616 MB / 4.144 GB, free: 210.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/11.09, allocations: 3.719 kB / 4.144 GB, free: 210.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/11.09, allocations: 0.518 MB / 4.144 GB, free: 210.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/11.1, allocations: 420.9 kB / 4.145 GB, free: 210.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/11.11, allocations: 2.535 MB / 4.147 GB, free: 209.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/11.11, allocations: 1.117 MB / 4.148 GB, free: 209 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002066/11.11, allocations: 448.2 kB / 4.149 GB, free: 209 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/11.11, allocations: 372.5 kB / 4.149 GB, free: 208.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/11.11, allocations: 3.625 kB / 4.149 GB, free: 208.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08199/11.2, allocations: 43.54 MB / 4.191 GB, free: 184.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/11.2, allocations: 220.9 kB / 4.192 GB, free: 184.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.631/14.83, allocations: 3.75 kB / 4.192 GB, free: 184.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat does not exist to compare? outputFormat=mat