Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.728/1.728, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009341/0.0009342, allocations: 166.9 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008035/0.0008035, allocations: 100.7 kB / 0.7808 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.000511, allocations: 16 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5529/0.5535, allocations: 120.3 MB / 1.026 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.509/5.062, allocations: 2.174 GB / 3.201 GB, free: 29.39 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/5.062, allocations: 101.3 kB / 3.201 GB, free: 29.29 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.887/8.949, allocations: 1.117 GB / 4.318 GB, free: 56.38 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.697e-06/8.949, allocations: 4 kB / 4.318 GB, free: 56.37 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002599/8.95, allocations: 47.98 kB / 4.318 GB, free: 56.32 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006702/8.956, allocations: 2.414 MB / 4.32 GB, free: 53.88 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/8.956, allocations: 12.02 kB / 4.32 GB, free: 53.86 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/8.958, allocations: 366.1 kB / 4.321 GB, free: 53.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/8.962, allocations: 1.66 MB / 4.322 GB, free: 51.79 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-05/8.962, allocations: 107.1 kB / 4.322 GB, free: 51.68 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/8.963, allocations: 152.3 kB / 4.322 GB, free: 51.54 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/8.966, allocations: 1.484 MB / 4.324 GB, free: 49.99 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/8.966, allocations: 3.938 kB / 4.324 GB, free: 49.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/8.966, allocations: 60 kB / 4.324 GB, free: 49.93 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/8.966, allocations: 54.58 kB / 4.324 GB, free: 49.87 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/8.968, allocations: 1.127 MB / 4.325 GB, free: 48.74 MB / 0.9948 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.007939/8.976, allocations: 7.16 MB / 4.332 GB, free: 41.03 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/8.977, allocations: 0.858 MB / 4.333 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/8.978, allocations: 460.1 kB / 4.333 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/8.978, allocations: 0.7162 MB / 4.334 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/8.978, allocations: 43.22 kB / 4.334 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=77): time 2.705e-06/8.978, allocations: 0 / 4.334 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=77): time 0.006664/8.985, allocations: 2.359 MB / 4.336 GB, free: 36.35 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/8.985, allocations: 60.06 kB / 4.336 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/8.987, allocations: 1.282 MB / 4.338 GB, free: 34.99 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/8.987, allocations: 49.7 kB / 4.338 GB, free: 34.93 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/8.987, allocations: 0.7926 MB / 4.339 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/8.988, allocations: 264.2 kB / 4.339 GB, free: 33.87 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/8.988, allocations: 16 kB / 4.339 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.099e-05/8.988, allocations: 334 kB / 4.339 GB, free: 33.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/8.988, allocations: 325.8 kB / 4.339 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/8.989, allocations: 0.6063 MB / 4.34 GB, free: 32.48 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/8.99, allocations: 0.8613 MB / 4.341 GB, free: 31.55 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/8.99, allocations: 4 kB / 4.341 GB, free: 31.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00226/8.992, allocations: 1.255 MB / 4.342 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-05/8.992, allocations: 226.5 kB / 4.342 GB, free: 29.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/8.993, allocations: 4 kB / 4.342 GB, free: 29.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/8.994, allocations: 448.2 kB / 4.343 GB, free: 29.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/8.995, allocations: 143.8 kB / 4.343 GB, free: 29.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/8.996, allocations: 2.114 MB / 4.345 GB, free: 27.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/8.998, allocations: 179.3 kB / 4.345 GB, free: 27.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/8.998, allocations: 39.98 kB / 4.345 GB, free: 26.99 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/8.998, allocations: 4 kB / 4.345 GB, free: 26.99 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001725/8.999, allocations: 1.04 MB / 4.346 GB, free: 25.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/8.999, allocations: 8 kB / 4.346 GB, free: 25.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/9.001, allocations: 401.2 kB / 4.347 GB, free: 25.53 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/9.001, allocations: 143.8 kB / 4.347 GB, free: 25.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/9.004, allocations: 3.909 MB / 4.35 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/9.006, allocations: 171 kB / 4.351 GB, free: 21.01 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/9.006, allocations: 36 kB / 4.351 GB, free: 20.98 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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 {3 23,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001005/9.007, allocations: 479.3 kB / 4.351 GB, free: 20.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004216/9.007, allocations: 154.1 kB / 4.351 GB, free: 20.35 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/9.01, allocations: 1.204 MB / 4.352 GB, free: 19.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/9.01, allocations: 8 kB / 4.352 GB, free: 19.12 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/9.01, allocations: 0 / 4.352 GB, free: 19.12 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/9.011, allocations: 1.267 MB / 4.354 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/9.015, allocations: 2.775 MB / 4.356 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/9.015, allocations: 4 kB / 4.356 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/9.016, allocations: 108.1 kB / 4.357 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/9.017, allocations: 389.3 kB / 4.357 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/9.017, allocations: 20 kB / 4.357 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/9.019, allocations: 2.094 MB / 4.359 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/9.019, allocations: 4 kB / 4.359 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/9.02, allocations: 1.288 MB / 4.36 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/9.021, allocations: 347.2 kB / 4.361 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/9.021, allocations: 16 kB / 4.361 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/9.023, allocations: 115.7 kB / 4.361 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/9.023, allocations: 71.19 kB / 4.361 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/9.023, allocations: 31.98 kB / 4.361 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001158/9.024, allocations: 0.8702 MB / 4.362 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.71e-07/9.024, allocations: 0 / 4.362 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003735/9.028, allocations: 1.103 MB / 4.363 GB, free: 8.289 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (48): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 23,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003362/9.031, allocations: 2.333 MB / 4.365 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002754/9.034, allocations: 1.603 MB / 4.367 GB, free: 4.215 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/9.034, allocations: 3.938 kB / 4.367 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/9.035, allocations: 478.8 kB / 4.367 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/9.039, allocations: 0.8145 MB / 4.368 GB, free: 2.949 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/9.044, allocations: 3.322 MB / 4.371 GB, free: 15.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/9.045, allocations: 1.348 MB / 4.372 GB, free: 14.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00154/9.047, allocations: 324.2 kB / 4.373 GB, free: 13.88 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/9.047, allocations: 95.42 kB / 4.373 GB, free: 13.79 MB / 1.01 GB Notification: Performance of SimCode: time 5.21e-07/9.047, allocations: 0 / 4.373 GB, free: 13.79 MB / 1.01 GB Notification: Performance of Templates: time 0.5727/9.62, allocations: 55.47 MB / 4.427 GB, free: 138.1 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)