Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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.00536/0.00536, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001467/0.001467, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.002391, allocations: 280.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9486/0.9486, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002539, allocations: 99.83 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3673, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03551/0.4028, allocations: 35.83 MB / 0.8009 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.4138, allocations: 8.022 MB / 0.8087 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008948/0.4147, allocations: 35.81 kB / 0.8088 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.4159, allocations: 425.2 kB / 0.8092 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.4193, allocations: 1.389 MB / 0.8105 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.4219, allocations: 1.115 MB / 0.8116 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002737/0.4247, allocations: 2.141 MB / 0.8137 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.4258, allocations: 0.7213 MB / 0.8144 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.4279, allocations: 0.8852 MB / 0.8153 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.4289, allocations: 0.6107 MB / 0.8159 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.4291, allocations: 76 kB / 0.8159 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.4308, allocations: 0.8555 MB / 0.8168 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.4311, allocations: 203.3 kB / 0.817 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006108/0.4317, allocations: 473.8 kB / 0.8174 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.4341, allocations: 1.539 MB / 0.8189 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4342, allocations: 4 kB / 0.8189 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4342, allocations: 0 / 0.8189 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.846e-05/0.4342, allocations: 0 / 0.8189 GB, free: 13.39 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002214/0.4364, allocations: 1.255 MB / 0.8202 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4365, allocations: 8.031 kB / 0.8202 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.4366, allocations: 102.7 kB / 0.8203 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.4389, allocations: 308 kB / 0.8206 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.4402, allocations: 0.7653 MB / 0.8213 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.4403, allocations: 41.31 kB / 0.8213 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.4404, allocations: 63.98 kB / 0.8214 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.4421, allocations: 0.7953 MB / 0.8222 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4422, allocations: 3.938 kB / 0.8222 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.4422, allocations: 24 kB / 0.8222 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.4423, allocations: 23.98 kB / 0.8222 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.4442, allocations: 0.61 MB / 0.8228 GB, free: 9.234 MB / 0.5919 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.004969/0.4492, allocations: 3.951 MB / 0.8267 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.451, allocations: 450.8 kB / 0.8271 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007765/0.4518, allocations: 208.7 kB / 0.8273 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/0.4525, allocations: 0.5298 MB / 0.8278 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.4525, allocations: 38.55 kB / 0.8279 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/0.4525, allocations: 0 / 0.8279 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.002956/0.4555, allocations: 0.776 MB / 0.8286 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.4556, allocations: 102.8 kB / 0.8287 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.4563, allocations: 0.59 MB / 0.8293 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.4564, allocations: 29.7 kB / 0.8293 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.4567, allocations: 392.5 kB / 0.8297 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4568, allocations: 107.2 kB / 0.8298 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.457, allocations: 98.05 kB / 0.8299 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4572, allocations: 374.7 kB / 0.8303 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/0.458, allocations: 200.6 kB / 0.8304 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009193/0.4589, allocations: 359.4 kB / 0.8308 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.4606, allocations: 0.5216 MB / 0.8313 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4606, allocations: 0 / 0.8313 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002075/0.4627, allocations: 0.6587 MB / 0.8319 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4627, allocations: 8 kB / 0.8319 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4627, allocations: 4 kB / 0.8319 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/0.463, allocations: 56.83 kB / 0.832 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.4637, allocations: 136.2 kB / 0.8321 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005236/0.4642, allocations: 0.6225 MB / 0.8327 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/0.465, allocations: 83.69 kB / 0.8328 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.4651, allocations: 27.97 kB / 0.8328 GB, free: 14.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000361/0.4654, allocations: 217.7 kB / 0.8331 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.4656, allocations: 71.52 kB / 0.8331 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.4676, allocations: 0.6197 MB / 0.8337 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4677, allocations: 3.938 kB / 0.8337 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4677, allocations: 0 / 0.8337 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001755/0.4694, allocations: 0.7132 MB / 0.8344 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.4721, allocations: 1.296 MB / 0.8357 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4721, allocations: 8.031 kB / 0.8357 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.4726, allocations: 83.83 kB / 0.8358 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001795/0.4728, allocations: 52.83 kB / 0.8358 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.4729, allocations: 15.91 kB / 0.8358 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004588/0.4733, allocations: 0.6187 MB / 0.8365 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4734, allocations: 32 / 0.8365 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.476, allocations: 0.8864 MB / 0.8373 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.4763, allocations: 212.5 kB / 0.8375 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.4764, allocations: 7.984 kB / 0.8375 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.4771, allocations: 51.94 kB / 0.8376 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.4772, allocations: 19.98 kB / 0.8376 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.4773, allocations: 31.95 kB / 0.8376 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005961/0.4779, allocations: 483 kB / 0.8381 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4779, allocations: 0 / 0.8381 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009323/0.4788, allocations: 271.4 kB / 0.8383 GB, free: 8.426 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003463/0.4823, allocations: 1.648 MB / 0.84 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.4841, allocations: 0.4883 MB / 0.8404 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.4841, allocations: 4 kB / 0.8404 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.485, allocations: 234.4 kB / 0.8407 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.4867, allocations: 391.2 kB / 0.841 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.4972, allocations: 5.779 MB / 0.8467 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.4978, allocations: 0.9218 MB / 0.8476 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000573/0.4984, allocations: 161.4 kB / 0.8477 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.4988, allocations: 271.3 kB / 0.848 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.4988, allocations: 0 / 0.848 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.567/3.066, allocations: 22.44 MB / 0.8699 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/16.78, allocations: 0.75 kB / 0.8699 GB, free: 8.312 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)