Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.6/1.6, allocations: 287.4 MB / 302.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000992/0.0009921, allocations: 174 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008302/0.0008302, allocations: 99.09 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 11.84 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1868, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6349/0.8218, allocations: 233.4 MB / 1.207 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.8359, allocations: 8.972 MB / 1.215 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.8381, allocations: 66.91 kB / 1.215 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.8402, allocations: 0.6262 MB / 1.216 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006563/0.8467, allocations: 1.936 MB / 1.218 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.8512, allocations: 1.545 MB / 1.22 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005526/0.8568, allocations: 4.684 MB / 1.224 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.8591, allocations: 1.262 MB / 1.225 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003966/0.8631, allocations: 1.567 MB / 1.227 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.8655, allocations: 1.167 MB / 1.228 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.866, allocations: 64 kB / 1.228 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/0.871, allocations: 1.883 MB / 1.23 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0008073/0.8719, allocations: 474.3 kB / 1.23 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0009125/0.8728, allocations: 392.7 kB / 1.231 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00392/0.8767, allocations: 2.525 MB / 1.233 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8767, allocations: 0 / 1.233 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8767, allocations: 0 / 1.233 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.639e-05/0.8768, allocations: 0 / 1.233 GB, free: 7.238 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004501/0.8813, allocations: 2.134 MB / 1.235 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.8814, allocations: 12.03 kB / 1.235 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004042/0.8818, allocations: 173.3 kB / 1.235 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.8855, allocations: 0.6532 MB / 1.236 GB, free: 4.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.8883, allocations: 1.363 MB / 1.237 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/0.8887, allocations: 166 kB / 1.238 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.8889, allocations: 131.9 kB / 1.238 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.8915, allocations: 1.431 MB / 1.239 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.8916, allocations: 7.938 kB / 1.239 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.8917, allocations: 48 kB / 1.239 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.8917, allocations: 38.22 kB / 1.239 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.8942, allocations: 1.215 MB / 1.24 GB, free: 15.65 MB / 0.7761 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.008048/0.9022, allocations: 5.705 MB / 1.246 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.9042, allocations: 1.051 MB / 1.247 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.9052, allocations: 0.5379 MB / 1.247 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.9058, allocations: 331.9 kB / 1.248 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.907, allocations: 0.5778 MB / 1.248 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 3.637e-06/0.907, allocations: 0 / 1.248 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of matching and sorting (n=93): time 0.008553/0.9156, allocations: 3.643 MB / 1.252 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.9157, allocations: 94.05 kB / 1.252 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.9177, allocations: 1.33 MB / 1.253 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.9178, allocations: 45.7 kB / 1.253 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006642/0.9185, allocations: 0.7212 MB / 1.254 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.9189, allocations: 315.4 kB / 1.254 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.9189, allocations: 24 kB / 1.254 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.9191, allocations: 341.9 kB / 1.255 GB, free: 364 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.9201, allocations: 470 kB / 1.255 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.9213, allocations: 0.6747 MB / 1.256 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/0.9345, allocations: 3.642 MB / 1.259 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.9346, allocations: 4 kB / 1.259 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003671/0.9383, allocations: 1.554 MB / 1.261 GB, free: 9.82 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.9385, allocations: 243.8 kB / 1.261 GB, free: 9.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.9385, allocations: 4 kB / 1.261 GB, free: 9.516 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007938/0.9393, allocations: 262.2 kB / 1.261 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/0.9402, allocations: 191.8 kB / 1.262 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004384/0.9446, allocations: 4.491 MB / 1.266 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.9462, allocations: 143.8 kB / 1.266 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.9463, allocations: 47.98 kB / 1.266 GB, free: 4.094 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.9463, allocations: 4 kB / 1.266 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002922/0.9493, allocations: 1.394 MB / 1.267 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.9493, allocations: 4 kB / 1.267 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/0.9498, allocations: 214.4 kB / 1.268 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/0.9507, allocations: 204.1 kB / 1.268 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/0.9568, allocations: 5.508 MB / 1.273 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/0.9587, allocations: 143.9 kB / 1.273 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.9589, allocations: 47.98 kB / 1.273 GB, free: 12.15 MB / 0.8073 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001219/0.9601, allocations: 0.5063 MB / 1.274 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/0.9606, allocations: 169.9 kB / 1.274 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/0.9638, allocations: 1.325 MB / 1.275 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.9638, allocations: 8 kB / 1.275 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.9638, allocations: 7.938 kB / 1.275 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002248/0.9661, allocations: 1.178 MB / 1.277 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/0.972, allocations: 3.103 MB / 1.28 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.972, allocations: 4 kB / 1.28 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.9731, allocations: 192.1 kB / 1.28 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.9733, allocations: 52.83 kB / 1.28 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.2e-05/0.9734, allocations: 31.98 kB / 1.28 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003964/0.9738, allocations: 0.5913 MB / 1.28 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.9738, allocations: 12 kB / 1.28 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.9779, allocations: 2.021 MB / 1.282 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007839/0.9787, allocations: 347 kB / 1.283 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.979, allocations: 24 kB / 1.283 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.9803, allocations: 115.8 kB / 1.283 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.9805, allocations: 64.52 kB / 1.283 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/0.9806, allocations: 43.92 kB / 1.283 GB, free: 2.035 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001571/0.9822, allocations: 0.9019 MB / 1.284 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9822, allocations: 0 / 1.284 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002612/0.9848, allocations: 0.6913 MB / 1.285 GB, free: 456 kB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004801/0.9896, allocations: 2.766 MB / 1.287 GB, free: 13.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004982/0.9946, allocations: 2.598 MB / 1.29 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.9946, allocations: 0 / 1.29 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.9959, allocations: 0.621 MB / 1.29 GB, free: 10.28 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005495/1.001, allocations: 0.8231 MB / 1.291 GB, free: 9.465 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/1.026, allocations: 10.45 MB / 1.301 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.027, allocations: 1.345 MB / 1.303 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001934/1.029, allocations: 352.9 kB / 1.303 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.03, allocations: 0.6282 MB / 1.304 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of SimCode: time 8.41e-07/1.03, allocations: 4 kB / 1.304 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.159/2.19, allocations: 45.62 MB / 1.348 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/2.19, allocations: 254.7 kB / 1.348 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/5.384, allocations: 0 / 1.348 GB, free: 14.61 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)