Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",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.001209/0.001209, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001268/0.001268, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.91 kB / 0.8122 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5881/0.5896, allocations: 140.4 MB / 0.9492 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9286/1.518, allocations: 365.6 MB / 1.306 GB, free: 26.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04331/1.562, allocations: 33.11 MB / 1.339 GB, free: 25.85 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009344/1.571, allocations: 138.2 kB / 1.339 GB, free: 25.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007109/1.578, allocations: 2.051 MB / 1.341 GB, free: 25.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01829/1.596, allocations: 6.998 MB / 1.348 GB, free: 25.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/1.607, allocations: 4.166 MB / 1.352 GB, free: 25.35 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01368/1.62, allocations: 11.06 MB / 1.362 GB, free: 25.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005746/1.626, allocations: 3.919 MB / 1.366 GB, free: 24.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01514/1.641, allocations: 5.479 MB / 1.372 GB, free: 22.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007095/1.648, allocations: 3.571 MB / 1.375 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001871/1.65, allocations: 0.5535 MB / 1.376 GB, free: 21.6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01402/1.664, allocations: 7.011 MB / 1.382 GB, free: 20.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002357/1.667, allocations: 1.472 MB / 1.384 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005768/1.672, allocations: 2.841 MB / 1.387 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01754/1.69, allocations: 9.993 MB / 1.396 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.69, allocations: 0 / 1.396 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.69, allocations: 4 kB / 1.396 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002471/1.69, allocations: 0 / 1.396 GB, free: 11.01 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01461/1.705, allocations: 5.941 MB / 1.402 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.705, allocations: 8.031 kB / 1.402 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009027/1.706, allocations: 455.2 kB / 1.403 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02936/1.735, allocations: 4.285 MB / 1.407 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009144/1.744, allocations: 3.595 MB / 1.41 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001538/1.746, allocations: 0.5191 MB / 1.411 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/1.747, allocations: 358.5 kB / 1.411 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/1.766, allocations: 5.713 MB / 1.417 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.907e-05/1.767, allocations: 6.625 kB / 1.417 GB, free: 6.449 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005583/1.767, allocations: 134.1 kB / 1.417 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.767, allocations: 134.5 kB / 1.417 GB, free: 6.188 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02078/1.788, allocations: 6.847 MB / 1.424 GB, free: 15.35 MB / 1.029 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.04401/1.832, allocations: 22.22 MB / 1.445 GB, free: 8.414 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/1.844, allocations: 4.057 MB / 1.449 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006733/1.85, allocations: 2.268 MB / 1.452 GB, free: 2.098 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01591/1.866, allocations: 8.172 MB / 1.46 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007378/1.874, allocations: 2.396 MB / 1.462 GB, free: 7.223 MB / 1.061 GB Notification: Performance of pre-optimization done (n=230): time 6.102e-06/1.874, allocations: 0 / 1.462 GB, free: 7.223 MB / 1.061 GB Notification: Performance of matching and sorting (n=230): time 0.03446/1.908, allocations: 8.436 MB / 1.47 GB, free: 14.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.908, allocations: 77.41 kB / 1.47 GB, free: 14.58 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00906/1.917, allocations: 4.288 MB / 1.474 GB, free: 10.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000786/1.918, allocations: 81.7 kB / 1.475 GB, free: 10.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.92, allocations: 1.814 MB / 1.476 GB, free: 8.371 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001338/1.922, allocations: 0.8021 MB / 1.477 GB, free: 7.578 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003247/1.925, allocations: 0.8073 MB / 1.478 GB, free: 6.766 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.288e-05/1.925, allocations: 309.1 kB / 1.478 GB, free: 6.461 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009001/1.934, allocations: 2.728 MB / 1.481 GB, free: 3.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009496/1.943, allocations: 3.43 MB / 1.484 GB, free: 76 kB / 1.076 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0184/1.962, allocations: 5.966 MB / 1.49 GB, free: 9.918 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.222e-05/1.962, allocations: 4 kB / 1.49 GB, free: 9.914 MB / 1.092 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02833/1.99, allocations: 7.589 MB / 1.497 GB, free: 2.363 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/1.99, allocations: 8 kB / 1.497 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-05/1.99, allocations: 19.98 kB / 1.497 GB, free: 2.336 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004052/1.994, allocations: 0.9667 MB / 1.498 GB, free: 1.344 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009081/2.004, allocations: 1.417 MB / 1.5 GB, free: 15.97 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/2.02, allocations: 14.56 MB / 1.514 GB, free: 416 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/2.031, allocations: 1.298 MB / 1.515 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/2.032, allocations: 187.8 kB / 1.515 GB, free: 14.92 MB / 1.123 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003027/2.035, allocations: 0.8511 MB / 1.516 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002136/2.037, allocations: 422.8 kB / 1.517 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02322/2.061, allocations: 5.797 MB / 1.522 GB, free: 7.875 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/2.061, allocations: 24 kB / 1.522 GB, free: 7.852 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/2.061, allocations: 0 / 1.522 GB, free: 7.852 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.171e-05/2.061, allocations: 11.95 kB / 1.522 GB, free: 7.84 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03168/2.092, allocations: 10.91 MB / 1.533 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/2.092, allocations: 4 kB / 1.533 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004959/2.097, allocations: 0.671 MB / 1.534 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/2.101, allocations: 0.7653 MB / 1.534 GB, free: 11.42 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006156/2.101, allocations: 79.91 kB / 1.535 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/2.115, allocations: 11.7 MB / 1.546 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/2.115, allocations: 6.719 kB / 1.546 GB, free: 14.78 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02819/2.143, allocations: 8.21 MB / 1.554 GB, free: 6.492 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/2.146, allocations: 1.065 MB / 1.555 GB, free: 5.402 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/2.148, allocations: 48 kB / 1.555 GB, free: 5.355 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007104/2.155, allocations: 0.6037 MB / 1.556 GB, free: 4.754 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005727/2.155, allocations: 165.1 kB / 1.556 GB, free: 4.594 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004992/2.156, allocations: 107.9 kB / 1.556 GB, free: 4.488 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.006592/2.162, allocations: 2.963 MB / 1.559 GB, free: 1.523 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.01e-07/2.162, allocations: 0 / 1.559 GB, free: 1.523 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.006006/2.169, allocations: 1.545 MB / 1.56 GB, free: 15.97 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02935/2.198, allocations: 9.601 MB / 1.57 GB, free: 6.527 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0257/2.224, allocations: 7.047 MB / 1.577 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/2.224, allocations: 4 kB / 1.577 GB, free: 15.51 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008841/2.233, allocations: 3.041 MB / 1.58 GB, free: 12.45 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/2.245, allocations: 2.098 MB / 1.582 GB, free: 10.43 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1433/2.389, allocations: 48.14 MB / 1.629 GB, free: 7.258 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/2.391, allocations: 2.302 MB / 1.631 GB, free: 4.926 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.007217/2.398, allocations: 1.044 MB / 1.632 GB, free: 3.891 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004214/2.403, allocations: 1.807 MB / 1.634 GB, free: 2.082 MB / 1.232 GB Notification: Performance of SimCode: time 1.774e-06/2.403, allocations: 0 / 1.634 GB, free: 2.082 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.351/3.753, allocations: 127.8 MB / 1.758 GB, free: 0.5717 GB / 1.326 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/3.754, allocations: 294.5 kB / 1.759 GB, free: 0.5713 GB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.334/10.09, allocations: 0 / 1.759 GB, free: 0.5713 GB / 1.326 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat