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.272/2.272, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001338/0.001339, allocations: 176.8 kB / 487.4 MB, free: 5.039 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.9922 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.001298/0.001299, allocations: 98.31 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.847e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3269, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.056/6.383, allocations: 1.895 GB / 3.101 GB, free: 436.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/6.383, allocations: 86.42 kB / 3.101 GB, free: 436.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.479/9.862, allocations: 0.9984 GB / 4.1 GB, free: 228.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.773e-06/9.862, allocations: 0 / 4.1 GB, free: 228.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.625e-05/9.862, allocations: 34.38 kB / 4.1 GB, free: 228.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.006015/9.868, allocations: 1.788 MB / 4.101 GB, free: 227.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/9.868, allocations: 16.91 kB / 4.101 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/9.872, allocations: 0.5416 MB / 4.102 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/9.875, allocations: 1.073 MB / 4.103 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005883/9.876, allocations: 160.1 kB / 4.103 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/9.876, allocations: 50.81 kB / 4.103 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001786/9.878, allocations: 1.002 MB / 4.104 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/9.879, allocations: 1.037 MB / 4.105 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/9.88, allocations: 0 / 4.105 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/9.88, allocations: 0 / 4.105 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.136e-05/9.88, allocations: 47.89 kB / 4.105 GB, free: 227.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.008043/9.888, allocations: 4.01 MB / 4.109 GB, free: 225.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/9.889, allocations: 0.7307 MB / 4.11 GB, free: 225.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/9.89, allocations: 498.9 kB / 4.11 GB, free: 225.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009809/9.891, allocations: 0.6121 MB / 4.111 GB, free: 225.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/9.891, allocations: 44.38 kB / 4.111 GB, free: 225.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 6.011e-06/9.891, allocations: 3.875 kB / 4.111 GB, free: 225.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002526/9.893, allocations: 1.131 MB / 4.112 GB, free: 225 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/9.893, allocations: 61.28 kB / 4.112 GB, free: 225 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/9.894, allocations: 0.5616 MB / 4.113 GB, free: 224.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.927e-05/9.894, allocations: 28.7 kB / 4.113 GB, free: 224.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/9.894, allocations: 449.6 kB / 4.113 GB, free: 224.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/9.895, allocations: 249.3 kB / 4.113 GB, free: 224.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/9.895, allocations: 3.406 kB / 4.113 GB, free: 224.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001072/9.895, allocations: 336.5 kB / 4.114 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/9.895, allocations: 393.2 kB / 4.114 GB, free: 224.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/9.896, allocations: 0.5245 MB / 4.115 GB, free: 224.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/9.897, allocations: 0.5778 MB / 4.115 GB, free: 224.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/9.897, allocations: 3.156 kB / 4.115 GB, free: 224.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002073/9.899, allocations: 1.175 MB / 4.116 GB, free: 224 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001653/9.9, allocations: 486.8 kB / 4.117 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/9.9, allocations: 3.906 kB / 4.117 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/9.9, allocations: 3.156 kB / 4.117 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/9.901, allocations: 284.1 kB / 4.117 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005806/9.902, allocations: 1.202 MB / 4.118 GB, free: 222.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/9.903, allocations: 183.8 kB / 4.118 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/9.904, allocations: 32.38 kB / 4.118 GB, free: 222.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/9.904, allocations: 3.875 kB / 4.118 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001963/9.906, allocations: 1.074 MB / 4.12 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/9.906, allocations: 0 / 4.12 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/9.906, allocations: 3 kB / 4.12 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/9.907, allocations: 260.5 kB / 4.12 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/9.907, allocations: 3.875 kB / 4.12 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/9.908, allocations: 174.5 kB / 4.12 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-05/9.908, allocations: 33.67 kB / 4.12 GB, free: 222.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.0002804/9.909, allocations: 125.4 kB / 4.12 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001712/9.91, allocations: 1.083 MB / 4.121 GB, free: 222.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/9.91, allocations: 97.34 kB / 4.121 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/9.912, allocations: 1.192 MB / 4.122 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/9.913, allocations: 14.81 kB / 4.122 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/9.913, allocations: 0 / 4.122 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/9.913, allocations: 3.797 kB / 4.122 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/9.916, allocations: 2.577 MB / 4.125 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/9.916, allocations: 3.438 kB / 4.125 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/9.918, allocations: 260.1 kB / 4.125 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/9.918, allocations: 9.281 kB / 4.125 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/9.918, allocations: 20.31 kB / 4.125 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003618/9.918, allocations: 1.198 MB / 4.126 GB, free: 220.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/9.918, allocations: 4.75 kB / 4.126 GB, free: 220.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/9.92, allocations: 1.489 MB / 4.128 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/9.921, allocations: 305.3 kB / 4.128 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/9.921, allocations: 7.344 kB / 4.128 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/9.922, allocations: 155.8 kB / 4.128 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/9.922, allocations: 68.81 kB / 4.128 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-05/9.922, allocations: 39.25 kB / 4.128 GB, free: 219.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005015/9.923, allocations: 440.5 kB / 4.129 GB, free: 219.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.923, allocations: 0 / 4.129 GB, free: 219.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001956/9.925, allocations: 0.6828 MB / 4.13 GB, free: 219.5 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.005616/9.93, allocations: 5.586 MB / 4.135 GB, free: 216.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002912/9.933, allocations: 1.604 MB / 4.137 GB, free: 216.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/9.933, allocations: 0 / 4.137 GB, free: 216.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009659/9.934, allocations: 0.5222 MB / 4.137 GB, free: 216.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/9.937, allocations: 422.4 kB / 4.137 GB, free: 216.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/9.951, allocations: 2.544 MB / 4.14 GB, free: 215.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/9.952, allocations: 1.117 MB / 4.141 GB, free: 215.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002068/9.954, allocations: 452.4 kB / 4.141 GB, free: 215.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/9.954, allocations: 376 kB / 4.142 GB, free: 215.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.153e-06/9.954, allocations: 0 / 4.142 GB, free: 215.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07509/10.03, allocations: 43.53 MB / 4.184 GB, free: 204.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/10.03, allocations: 191.1 kB / 4.185 GB, free: 204.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.562/13.59, allocations: 0 / 4.185 GB, free: 204.3 MB / 1.151 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