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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001185, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.3 MB / 0.6653 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004982, allocations: 11.94 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.8832, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2198/1.103, allocations: 176.7 MB / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01214/1.115, allocations: 6.987 MB / 1.133 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/1.117, allocations: 31.75 kB / 1.133 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002594/1.12, allocations: 0.7155 MB / 1.134 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007716/1.127, allocations: 2.248 MB / 1.136 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/1.131, allocations: 1.065 MB / 1.137 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00407/1.135, allocations: 1.635 MB / 1.139 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/1.137, allocations: 0.8352 MB / 1.139 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/1.141, allocations: 1.32 MB / 1.141 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/1.142, allocations: 0.6264 MB / 1.141 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/1.142, allocations: 48 kB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/1.146, allocations: 1.322 MB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/1.146, allocations: 311 kB / 1.143 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005039/1.147, allocations: 277 kB / 1.143 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/1.149, allocations: 1.602 MB / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.149, allocations: 0 / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.235e-06/1.149, allocations: 0 / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.958e-05/1.15, allocations: 4 kB / 1.145 GB, free: 12.04 MB / 0.9044 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.004593/1.154, allocations: 1.579 MB / 1.146 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.154, allocations: 8.031 kB / 1.146 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003246/1.155, allocations: 139.1 kB / 1.146 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/1.158, allocations: 0.5838 MB / 1.147 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/1.16, allocations: 0.9258 MB / 1.148 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007061/1.161, allocations: 201.9 kB / 1.148 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/1.161, allocations: 83.98 kB / 1.148 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/1.164, allocations: 1.256 MB / 1.149 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.164, allocations: 3.953 kB / 1.149 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.164, allocations: 32 kB / 1.149 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.546e-05/1.164, allocations: 49.98 kB / 1.149 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/1.168, allocations: 1.601 MB / 1.151 GB, free: 5.461 MB / 0.9044 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.007382/1.175, allocations: 4.085 MB / 1.155 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/1.178, allocations: 1.072 MB / 1.156 GB, free: 16 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008711/1.179, allocations: 294.9 kB / 1.156 GB, free: 15.69 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.179, allocations: 43.22 kB / 1.156 GB, free: 15.64 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/1.179, allocations: 0 / 1.156 GB, free: 15.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.005323/1.185, allocations: 1.914 MB / 1.158 GB, free: 13.72 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/1.185, allocations: 60.06 kB / 1.158 GB, free: 13.65 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.186, allocations: 0.8154 MB / 1.159 GB, free: 12.81 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/1.186, allocations: 37.7 kB / 1.159 GB, free: 12.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/1.186, allocations: 452.4 kB / 1.16 GB, free: 12.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/1.187, allocations: 252.2 kB / 1.16 GB, free: 12.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/1.187, allocations: 16 kB / 1.16 GB, free: 12.05 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001865/1.187, allocations: 341.9 kB / 1.16 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/1.189, allocations: 0.5562 MB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.19, allocations: 0.6794 MB / 1.161 GB, free: 10.44 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/1.192, allocations: 0.6177 MB / 1.162 GB, free: 9.816 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/1.192, allocations: 0 / 1.162 GB, free: 9.816 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003794/1.196, allocations: 1.407 MB / 1.163 GB, free: 8.395 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003434/1.196, allocations: 491.2 kB / 1.164 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.196, allocations: 0 / 1.164 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.196, allocations: 7.938 kB / 1.164 GB, free: 7.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.198, allocations: 275.6 kB / 1.164 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008209/1.198, allocations: 1.195 MB / 1.165 GB, free: 6.359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.2, allocations: 191.5 kB / 1.165 GB, free: 6.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.506e-05/1.2, allocations: 35.97 kB / 1.165 GB, free: 6.137 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.2, allocations: 4 kB / 1.165 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003398/1.204, allocations: 1.309 MB / 1.167 GB, free: 4.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.204, allocations: 0 / 1.167 GB, free: 4.816 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1.204, allocations: 8 kB / 1.167 GB, free: 4.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.205, allocations: 243.8 kB / 1.167 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.205, allocations: 8 kB / 1.167 GB, free: 4.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.206, allocations: 195.1 kB / 1.167 GB, free: 4.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/1.206, allocations: 31.94 kB / 1.167 GB, free: 4.34 MB / 0.92 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 (83): * Single equations (assignments): 80 * 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.000893/1.207, allocations: 380.9 kB / 1.168 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/1.207, allocations: 102.8 kB / 1.168 GB, free: 3.855 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/1.211, allocations: 1.437 MB / 1.169 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/1.211, allocations: 12 kB / 1.169 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.211, allocations: 0 / 1.169 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/1.211, allocations: 3.984 kB / 1.169 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006243/1.217, allocations: 2.985 MB / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.217, allocations: 4 kB / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.219, allocations: 251.7 kB / 1.172 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/1.219, allocations: 8 kB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/1.219, allocations: 31.97 kB / 1.172 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007391/1.22, allocations: 1.192 MB / 1.173 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.22, allocations: 8.062 kB / 1.173 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/1.223, allocations: 1.749 MB / 1.175 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/1.224, allocations: 307.6 kB / 1.175 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/1.224, allocations: 20 kB / 1.175 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.225, allocations: 167.7 kB / 1.176 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.226, allocations: 68.31 kB / 1.176 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.64e-05/1.226, allocations: 35.98 kB / 1.176 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008042/1.226, allocations: 0.5622 MB / 1.176 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.226, allocations: 0 / 1.176 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001482/1.228, allocations: 0.5302 MB / 1.177 GB, free: 10.13 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.004819/1.233, allocations: 3.634 MB / 1.18 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00554/1.238, allocations: 2.127 MB / 1.182 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.238, allocations: 0 / 1.182 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/1.24, allocations: 0.699 MB / 1.183 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/1.243, allocations: 0.5177 MB / 1.184 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/1.249, allocations: 3.621 MB / 1.187 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007016/1.25, allocations: 1.122 MB / 1.188 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001738/1.252, allocations: 391.5 kB / 1.189 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/1.253, allocations: 391.3 kB / 1.189 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/1.253, allocations: 0 / 1.189 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05496/1.307, allocations: 28.49 MB / 1.217 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/1.308, allocations: 280.8 kB / 1.217 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.663, allocations: 0 / 1.217 GB, free: 1.004 MB / 0.9669 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