Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 288.4 MB / 303.7 MB, free: 8.109 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.001275/0.001275, allocations: 186.5 kB / 372.3 MB, free: 10.11 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.679/1.679, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0007868/0.0007869, allocations: 98.3 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 14.06 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.8513/1.065, allocations: 259.4 MB / 1.233 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03781/1.103, allocations: 22.42 MB / 1.255 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005659/1.109, allocations: 95.38 kB / 1.255 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005728/1.115, allocations: 1.259 MB / 1.257 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01484/1.13, allocations: 4.403 MB / 1.261 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.007949/1.138, allocations: 2 MB / 1.263 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01323/1.151, allocations: 8.248 MB / 1.271 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004343/1.155, allocations: 2.161 MB / 1.273 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007441/1.163, allocations: 2.797 MB / 1.276 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004942/1.168, allocations: 2.037 MB / 1.278 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007833/1.168, allocations: 116 kB / 1.278 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009666/1.178, allocations: 4.302 MB / 1.282 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/1.18, allocations: 0.7708 MB / 1.283 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002634/1.182, allocations: 1.378 MB / 1.284 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006435/1.189, allocations: 4.298 MB / 1.288 GB, free: 14.61 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.189, allocations: 0 / 1.288 GB, free: 14.61 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.823e-06/1.189, allocations: 0 / 1.288 GB, free: 14.61 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.906e-05/1.189, allocations: 4 kB / 1.288 GB, free: 14.61 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007517/1.196, allocations: 2.986 MB / 1.291 GB, free: 11.56 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.197, allocations: 16.03 kB / 1.291 GB, free: 11.54 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/1.201, allocations: 0.7419 MB / 1.292 GB, free: 10.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/1.206, allocations: 2.134 MB / 1.294 GB, free: 8.59 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/1.206, allocations: 143.6 kB / 1.294 GB, free: 8.449 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/1.206, allocations: 191.9 kB / 1.294 GB, free: 8.262 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004485/1.211, allocations: 2.228 MB / 1.297 GB, free: 5.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/1.211, allocations: 4 kB / 1.297 GB, free: 5.977 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/1.211, allocations: 72 kB / 1.297 GB, free: 5.906 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.504e-05/1.211, allocations: 79.53 kB / 1.297 GB, free: 5.828 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/1.215, allocations: 1.923 MB / 1.299 GB, free: 3.902 MB / 0.823 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.01414/1.23, allocations: 9.239 MB / 1.308 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/1.232, allocations: 1.085 MB / 1.309 GB, free: 9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009789/1.233, allocations: 0.6131 MB / 1.309 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000857/1.233, allocations: 0.7478 MB / 1.31 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/1.234, allocations: 51.5 kB / 1.31 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001478/1.235, allocations: 174.5 kB / 1.31 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 3.437e-06/1.235, allocations: 4 kB / 1.31 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of matching and sorting (n=106): time 0.01139/1.246, allocations: 4.174 MB / 1.314 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/1.247, allocations: 68.34 kB / 1.314 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/1.25, allocations: 2.148 MB / 1.317 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/1.25, allocations: 49.7 kB / 1.317 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009658/1.251, allocations: 1.11 MB / 1.318 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/1.251, allocations: 374.6 kB / 1.318 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/1.251, allocations: 32 kB / 1.318 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.251, allocations: 357.9 kB / 1.318 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/1.252, allocations: 0.5036 MB / 1.319 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/1.254, allocations: 0.9485 MB / 1.32 GB, free: 13.2 MB / 0.8542 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.265, allocations: 3.534 MB / 1.323 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/1.265, allocations: 7.938 kB / 1.323 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003601/1.268, allocations: 1.815 MB / 1.325 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003267/1.269, allocations: 408.2 kB / 1.325 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.269, allocations: 12 kB / 1.325 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/1.27, allocations: 324.5 kB / 1.326 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.271, allocations: 287.5 kB / 1.326 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/1.272, allocations: 0.9542 MB / 1.327 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.275, allocations: 168.4 kB / 1.327 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.275, allocations: 67.97 kB / 1.327 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.275, allocations: 5.25 kB / 1.327 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002753/1.278, allocations: 1.57 MB / 1.329 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.278, allocations: 12 kB / 1.329 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/1.279, allocations: 320.7 kB / 1.329 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.28, allocations: 275.6 kB / 1.329 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/1.281, allocations: 0.9613 MB / 1.33 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/1.284, allocations: 167.2 kB / 1.33 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/1.284, allocations: 63.98 kB / 1.33 GB, free: 1.91 MB / 0.8542 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (147): * Single equations (assignments): 144 * Array equations: 2 * Algorithm blocks: 0 * 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 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.001372/1.285, allocations: 0.649 MB / 1.331 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/1.286, allocations: 244.9 kB / 1.331 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/1.288, allocations: 1.52 MB / 1.333 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.288, allocations: 12 kB / 1.333 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/1.288, allocations: 0 / 1.333 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001806/1.29, allocations: 1.105 MB / 1.334 GB, free: 14.34 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.007533/1.298, allocations: 4.124 MB / 1.338 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.298, allocations: 7.938 kB / 1.338 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/1.299, allocations: 188.5 kB / 1.338 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/1.3, allocations: 308.6 kB / 1.338 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/1.3, allocations: 27.98 kB / 1.338 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009225/1.301, allocations: 0.9145 MB / 1.339 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.301, allocations: 11.94 kB / 1.339 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/1.305, allocations: 2.213 MB / 1.342 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.306, allocations: 461.8 kB / 1.342 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/1.306, allocations: 24 kB / 1.342 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/1.308, allocations: 124.3 kB / 1.342 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.308, allocations: 84.72 kB / 1.342 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.924e-05/1.308, allocations: 55.97 kB / 1.342 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002519/1.31, allocations: 1.468 MB / 1.344 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/1.31, allocations: 0 / 1.344 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003487/1.314, allocations: 1.086 MB / 1.345 GB, free: 2.926 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/1.315, allocations: 495.8 kB / 1.345 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004263/1.319, allocations: 2.092 MB / 1.347 GB, free: 368 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.319, allocations: 0 / 1.347 GB, free: 368 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/1.321, allocations: 0.5721 MB / 1.348 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009076/1.33, allocations: 1.481 MB / 1.349 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/1.337, allocations: 4.842 MB / 1.354 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/1.338, allocations: 1.68 MB / 1.356 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002764/1.341, allocations: 0.5703 MB / 1.356 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/1.342, allocations: 187.4 kB / 1.356 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/1.342, allocations: 3.938 kB / 1.356 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of Templates: time 0.08625/1.428, allocations: 53.74 MB / 1.409 GB, free: 1.566 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)