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.266/2.266, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001311/0.00131, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.629/1.629, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 91.84 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.764e-05, allocations: 5.641 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3573, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.251/6.608, allocations: 1.895 GB / 3.101 GB, free: 357.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/6.609, allocations: 89.55 kB / 3.101 GB, free: 357.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.465/10.07, allocations: 0.9984 GB / 4.1 GB, free: 220.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/10.07, allocations: 0 / 4.1 GB, free: 220.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.993e-05/10.07, allocations: 31.12 kB / 4.1 GB, free: 220.5 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.005538/10.08, allocations: 1.79 MB / 4.101 GB, free: 219.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/10.08, allocations: 14.67 kB / 4.101 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/10.08, allocations: 0.5526 MB / 4.102 GB, free: 219.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/10.09, allocations: 1.076 MB / 4.103 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005881/10.09, allocations: 166.6 kB / 4.103 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/10.09, allocations: 48.88 kB / 4.103 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001563/10.09, allocations: 0.9935 MB / 4.104 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/10.09, allocations: 1.033 MB / 4.105 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/10.09, allocations: 0 / 4.105 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/10.09, allocations: 3.094 kB / 4.105 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/10.09, allocations: 43.98 kB / 4.105 GB, free: 219.3 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.006455/10.1, allocations: 4.021 MB / 4.109 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/10.1, allocations: 0.7273 MB / 4.11 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/10.1, allocations: 0.4896 MB / 4.11 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008812/10.1, allocations: 0.6086 MB / 4.111 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/10.1, allocations: 45.84 kB / 4.111 GB, free: 217.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 4.007e-06/10.1, allocations: 0 / 4.111 GB, free: 217.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002362/10.1, allocations: 1.132 MB / 4.112 GB, free: 217.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/10.1, allocations: 62.59 kB / 4.112 GB, free: 217 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006729/10.1, allocations: 0.5565 MB / 4.113 GB, free: 216.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/10.1, allocations: 29.02 kB / 4.113 GB, free: 216.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/10.1, allocations: 456.2 kB / 4.113 GB, free: 216.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/10.1, allocations: 248.4 kB / 4.113 GB, free: 216.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/10.1, allocations: 2.906 kB / 4.113 GB, free: 216.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/10.1, allocations: 332.2 kB / 4.114 GB, free: 216.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/10.1, allocations: 394.4 kB / 4.114 GB, free: 216.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/10.1, allocations: 0.5285 MB / 4.115 GB, free: 216.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/10.11, allocations: 0.5762 MB / 4.115 GB, free: 216.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/10.11, allocations: 3.953 kB / 4.115 GB, free: 216.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002088/10.11, allocations: 1.174 MB / 4.116 GB, free: 216.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001917/10.11, allocations: 494 kB / 4.117 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/10.11, allocations: 0 / 4.117 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/10.11, allocations: 3.938 kB / 4.117 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/10.11, allocations: 280.4 kB / 4.117 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005025/10.11, allocations: 1.204 MB / 4.118 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/10.11, allocations: 177.4 kB / 4.118 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/10.11, allocations: 42.39 kB / 4.118 GB, free: 214.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/10.11, allocations: 5.656 kB / 4.119 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001823/10.11, allocations: 1.06 MB / 4.12 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/10.11, allocations: 6.438 kB / 4.12 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/10.11, allocations: 3.719 kB / 4.12 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/10.11, allocations: 256.6 kB / 4.12 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/10.11, allocations: 7.312 kB / 4.12 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/10.12, allocations: 171 kB / 4.12 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/10.12, allocations: 43.17 kB / 4.12 GB, free: 214.3 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.0002691/10.12, allocations: 120 kB / 4.12 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001829/10.12, allocations: 1.08 MB / 4.121 GB, free: 214.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/10.12, allocations: 97.5 kB / 4.121 GB, free: 214.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/10.12, allocations: 1.196 MB / 4.122 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/10.12, allocations: 7.562 kB / 4.122 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/10.12, allocations: 2.875 kB / 4.122 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-06/10.12, allocations: 3.844 kB / 4.122 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/10.12, allocations: 2.581 MB / 4.125 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/10.12, allocations: 7.188 kB / 4.125 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/10.13, allocations: 260 kB / 4.125 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/10.13, allocations: 7.438 kB / 4.125 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/10.13, allocations: 16.36 kB / 4.125 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003787/10.13, allocations: 1.194 MB / 4.126 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/10.13, allocations: 8.094 kB / 4.126 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/10.13, allocations: 1.488 MB / 4.128 GB, free: 211.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/10.13, allocations: 308.4 kB / 4.128 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/10.13, allocations: 11.17 kB / 4.128 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/10.13, allocations: 154.7 kB / 4.128 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/10.13, allocations: 58.64 kB / 4.128 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/10.13, allocations: 37.47 kB / 4.128 GB, free: 211.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005568/10.13, allocations: 451.1 kB / 4.129 GB, free: 211.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/10.13, allocations: 3.938 kB / 4.129 GB, free: 211.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002023/10.13, allocations: 0.6807 MB / 4.13 GB, free: 211 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.005893/10.14, allocations: 5.576 MB / 4.135 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002804/10.14, allocations: 1.612 MB / 4.137 GB, free: 207.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/10.14, allocations: 0 / 4.137 GB, free: 207.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008173/10.14, allocations: 0.5142 MB / 4.137 GB, free: 206.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/10.14, allocations: 425.5 kB / 4.137 GB, free: 206.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/10.16, allocations: 2.543 MB / 4.14 GB, free: 206.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/10.16, allocations: 1.111 MB / 4.141 GB, free: 205.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001978/10.16, allocations: 451.1 kB / 4.141 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/10.16, allocations: 381.1 kB / 4.142 GB, free: 205.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.82e-07/10.16, allocations: 0 / 4.142 GB, free: 205.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07893/10.24, allocations: 43.54 MB / 4.184 GB, free: 174.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/10.24, allocations: 207.9 kB / 4.185 GB, free: 173.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.52/13.76, allocations: 2.531 kB / 4.185 GB, free: 173.9 MB / 1.151 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