Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_10_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.0009963/0.0009964, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007215/0.007215, allocations: 170 kB / 16.27 MB, free: 6.66 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 8 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6215, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8291/1.451, allocations: 362.3 MB / 1.377 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03438/1.485, allocations: 33.3 MB / 1.409 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006943/1.492, allocations: 126.8 kB / 1.41 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00584/1.498, allocations: 1.948 MB / 1.411 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0252/1.523, allocations: 6.933 MB / 1.418 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01199/1.535, allocations: 4.164 MB / 1.422 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01856/1.554, allocations: 13.66 MB / 1.436 GB, free: 9.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007717/1.562, allocations: 3.197 MB / 1.439 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01664/1.578, allocations: 4.621 MB / 1.443 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007684/1.586, allocations: 3.225 MB / 1.446 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001882/1.588, allocations: 192 kB / 1.447 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01555/1.603, allocations: 7.202 MB / 1.454 GB, free: 7.355 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001854/1.605, allocations: 1.101 MB / 1.455 GB, free: 6.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00451/1.61, allocations: 2.438 MB / 1.457 GB, free: 3.793 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01987/1.63, allocations: 9.591 MB / 1.466 GB, free: 10.17 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.63, allocations: 0 / 1.466 GB, free: 10.17 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.026e-06/1.63, allocations: 0 / 1.466 GB, free: 10.17 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002627/1.63, allocations: 0 / 1.466 GB, free: 10.17 MB / 1.045 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.01246/1.642, allocations: 4.977 MB / 1.471 GB, free: 5.094 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.642, allocations: 8.031 kB / 1.471 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001102/1.644, allocations: 451.8 kB / 1.472 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02948/1.673, allocations: 4.563 MB / 1.476 GB, free: 60 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007806/1.681, allocations: 3.612 MB / 1.48 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001519/1.682, allocations: 0.5634 MB / 1.48 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/1.684, allocations: 359.9 kB / 1.481 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/1.699, allocations: 5.811 MB / 1.486 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.829e-05/1.699, allocations: 0 / 1.486 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006445/1.7, allocations: 136 kB / 1.486 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/1.7, allocations: 134.5 kB / 1.487 GB, free: 5.301 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02078/1.721, allocations: 7.033 MB / 1.493 GB, free: 14.26 MB / 1.076 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.03882/1.759, allocations: 22.54 MB / 1.515 GB, free: 6.586 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/1.77, allocations: 4.113 MB / 1.519 GB, free: 2.473 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00632/1.777, allocations: 2.313 MB / 1.522 GB, free: 164 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01279/1.789, allocations: 8.199 MB / 1.53 GB, free: 7.59 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006714/1.796, allocations: 2.548 MB / 1.532 GB, free: 5.02 MB / 1.107 GB Notification: Performance of pre-optimization done (n=228): time 4.188e-06/1.796, allocations: 0 / 1.532 GB, free: 5.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=228): time 0.0307/1.827, allocations: 8.688 MB / 1.541 GB, free: 12.19 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/1.827, allocations: 124.8 kB / 1.541 GB, free: 12.05 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008264/1.835, allocations: 4.349 MB / 1.545 GB, free: 7.68 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004829/1.836, allocations: 81.64 kB / 1.545 GB, free: 7.594 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001696/1.837, allocations: 1.826 MB / 1.547 GB, free: 5.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009524/1.838, allocations: 0.7895 MB / 1.548 GB, free: 4.949 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007305/1.839, allocations: 313.2 kB / 1.548 GB, free: 4.637 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/1.839, allocations: 301.1 kB / 1.548 GB, free: 4.34 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008814/1.848, allocations: 2.837 MB / 1.551 GB, free: 1.5 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00944/1.858, allocations: 3.549 MB / 1.555 GB, free: 13.71 MB / 1.139 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.01752/1.875, allocations: 6.106 MB / 1.56 GB, free: 7.363 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.875, allocations: 4 kB / 1.56 GB, free: 7.359 MB / 1.139 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02563/1.901, allocations: 7.815 MB / 1.568 GB, free: 15.48 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.901, allocations: 12 kB / 1.568 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/1.901, allocations: 19.94 kB / 1.568 GB, free: 15.45 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/1.905, allocations: 0.9832 MB / 1.569 GB, free: 14.43 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00863/1.913, allocations: 1.428 MB / 1.571 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/1.929, allocations: 13.82 MB / 1.584 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/1.939, allocations: 1.386 MB / 1.585 GB, free: 12.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008605/1.94, allocations: 187.8 kB / 1.586 GB, free: 12.57 MB / 1.17 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 19 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU.flowRegime_nominal,hexWetNTU.dryWetCalcs.fullyDry.cfg,hexWetNTU.dryWetCalcs.fullyWet.cfg,hexWetNTU.dryWetCalcs.cfg,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.dryWetCalcs.fullyDry.cfg,hexWetNTU_TX.dryWetCalcs.fullyWet.cfg,hexWetNTU_TX.dryWetCalcs.cfg,hexWetNTU_TX.flowRegime,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 409 * 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.002679/1.942, allocations: 0.8662 MB / 1.586 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.944, allocations: 418.8 kB / 1.587 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02063/1.964, allocations: 5.934 MB / 1.593 GB, free: 5.301 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/1.964, allocations: 27.98 kB / 1.593 GB, free: 5.273 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.964, allocations: 0 / 1.593 GB, free: 5.273 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/1.964, allocations: 11.95 kB / 1.593 GB, free: 5.262 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0274/1.992, allocations: 11.06 MB / 1.603 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.992, allocations: 7.938 kB / 1.603 GB, free: 10.03 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004342/1.996, allocations: 0.6945 MB / 1.604 GB, free: 9.332 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/2, allocations: 0.7949 MB / 1.605 GB, free: 8.512 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003101/2, allocations: 83.91 kB / 1.605 GB, free: 8.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/2.012, allocations: 11.03 MB / 1.616 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.012, allocations: 4 kB / 1.616 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02662/2.039, allocations: 8.409 MB / 1.624 GB, free: 4 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/2.042, allocations: 1.143 MB / 1.625 GB, free: 2.832 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/2.043, allocations: 51.98 kB / 1.625 GB, free: 2.781 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006652/2.05, allocations: 0.6604 MB / 1.626 GB, free: 2.121 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004356/2.05, allocations: 161.7 kB / 1.626 GB, free: 1.961 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003499/2.051, allocations: 111.9 kB / 1.626 GB, free: 1.852 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.006786/2.057, allocations: 3.007 MB / 1.629 GB, free: 14.84 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.7e-07/2.058, allocations: 0 / 1.629 GB, free: 14.84 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005418/2.063, allocations: 1.561 MB / 1.63 GB, free: 13.28 MB / 1.217 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: 3 ($whenCondition1,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 (225): * Single equations (assignments): 212 * 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.02693/2.09, allocations: 9.811 MB / 1.64 GB, free: 3.539 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.02026/2.11, allocations: 6.581 MB / 1.646 GB, free: 12.89 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/2.11, allocations: 0 / 1.646 GB, free: 12.89 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.007936/2.118, allocations: 3.077 MB / 1.649 GB, free: 9.738 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/2.131, allocations: 2.029 MB / 1.651 GB, free: 7.742 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.127/2.258, allocations: 48.99 MB / 1.699 GB, free: 3.516 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/2.26, allocations: 2.299 MB / 1.702 GB, free: 1.188 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006023/2.266, allocations: 1.046 MB / 1.703 GB, free: 156 kB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003006/2.269, allocations: 1.823 MB / 1.704 GB, free: 14.32 MB / 1.295 GB Notification: Performance of SimCode: time 5.31e-07/2.269, allocations: 0 / 1.704 GB, free: 14.32 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.121/5.39, allocations: 128.5 MB / 1.83 GB, free: 458.4 MB / 1.311 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/5.39, allocations: 287.4 kB / 1.83 GB, free: 458 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/17.67, allocations: 0 / 1.83 GB, free: 458 MB / 1.311 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat