Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7603/0.7603, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.264e-05/1.259e-05, allocations: 3.984 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 31.98 MB / 236.8 MB, free: 5.449 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 1.477/1.621, allocations: 293.6 MB / 0.518 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03839/1.659, allocations: 37.67 MB / 0.5548 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/1.66, allocations: 4 kB / 0.5548 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/1.66, allocations: 243.2 kB / 0.555 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/1.66, allocations: 247 kB / 0.5552 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01824/1.679, allocations: 7.499 MB / 0.5626 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005706/1.679, allocations: 470.9 kB / 0.563 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/1.68, allocations: 162.4 kB / 0.5632 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/1.68, allocations: 199.2 kB / 0.5634 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/1.68, allocations: 279.1 kB / 0.5636 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/1.68, allocations: 12 kB / 0.5636 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02615/1.706, allocations: 17.95 MB / 0.5812 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/1.707, allocations: 167.3 kB / 0.5813 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/1.707, allocations: 272 kB / 0.5816 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01526/1.722, allocations: 8.763 MB / 0.5901 GB, free: 3.559 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.722, allocations: 4 kB / 0.5901 GB, free: 3.555 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/1.722, allocations: 4 kB / 0.5901 GB, free: 3.551 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/1.722, allocations: 0 / 0.5901 GB, free: 3.551 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003848/1.726, allocations: 1.712 MB / 0.5918 GB, free: 1.789 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/1.726, allocations: 8.031 kB / 0.5918 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/1.726, allocations: 71.06 kB / 0.5919 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/1.727, allocations: 490.3 kB / 0.5924 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/1.727, allocations: 24.5 kB / 0.5924 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/1.727, allocations: 24 kB / 0.5924 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/1.727, allocations: 438 kB / 0.5928 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.727, allocations: 0 / 0.5928 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/1.727, allocations: 12 kB / 0.5928 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/1.727, allocations: 19.94 kB / 0.5929 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/1.728, allocations: 345.6 kB / 0.5932 GB, free: 320 kB / 478.1 MB 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.03477/1.762, allocations: 18.72 MB / 0.6115 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/1.763, allocations: 178.5 kB / 0.6116 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/1.763, allocations: 107.3 kB / 0.6117 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1421/1.905, allocations: 78.14 MB / 0.688 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.905, allocations: 34.56 kB / 0.6881 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 1.673e-06/1.905, allocations: 0 / 0.6881 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001696/1.907, allocations: 0.5918 MB / 0.6887 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1.907, allocations: 106.8 kB / 0.6888 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.908, allocations: 1.008 MB / 0.6897 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/1.908, allocations: 29.7 kB / 0.6898 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/1.908, allocations: 300.1 kB / 0.6901 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.523e-05/1.909, allocations: 122.2 kB / 0.6902 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/1.909, allocations: 41.69 kB / 0.6902 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.909, allocations: 382.7 kB / 0.6906 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/1.909, allocations: 160.4 kB / 0.6907 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/1.909, allocations: 231.1 kB / 0.6909 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/1.909, allocations: 340.4 kB / 0.6913 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.909, allocations: 0 / 0.6913 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000668/1.91, allocations: 0.5361 MB / 0.6918 GB, free: 492 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.91, allocations: 8 kB / 0.6918 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.91, allocations: 0 / 0.6918 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/1.912, allocations: 244.8 kB / 0.692 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/1.912, allocations: 23.92 kB / 0.6921 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1581/2.07, allocations: 0.6779 MB / 0.6927 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/2.07, allocations: 42.44 kB / 0.6928 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/2.07, allocations: 8.094 kB / 0.6928 GB, free: 227.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003021/2.071, allocations: 252.8 kB / 0.693 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/2.071, allocations: 62.53 kB / 0.6931 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007502/2.072, allocations: 0.7068 MB / 0.6938 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002898/2.072, allocations: 248.6 kB / 0.694 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/2.072, allocations: 1.438 kB / 0.694 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/2.072, allocations: 2.047 kB / 0.694 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/2.073, allocations: 0.9812 MB / 0.695 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/2.073, allocations: 0.9375 kB / 0.695 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/2.073, allocations: 18.56 kB / 0.695 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/2.074, allocations: 238 kB / 0.6952 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/2.074, allocations: 6.047 kB / 0.6952 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004708/2.075, allocations: 0.6931 MB / 0.6959 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/2.075, allocations: 4.125 kB / 0.6959 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/2.075, allocations: 417.6 kB / 0.6963 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/2.076, allocations: 205 kB / 0.6965 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/2.076, allocations: 6.062 kB / 0.6965 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/2.076, allocations: 12.19 kB / 0.6965 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/2.076, allocations: 21.61 kB / 0.6965 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/2.076, allocations: 5.266 kB / 0.6965 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009764/2.077, allocations: 0.8118 MB / 0.6973 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/2.077, allocations: 0 / 0.6973 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003039/2.08, allocations: 1.253 MB / 0.6985 GB, free: 226 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006255/2.086, allocations: 1.81 MB / 0.7003 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00079/2.087, allocations: 352 kB / 0.7006 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/2.087, allocations: 0 / 0.7006 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/2.087, allocations: 114.6 kB / 0.7008 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/2.088, allocations: 144.3 kB / 0.7009 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/2.09, allocations: 1.34 MB / 0.7022 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/2.09, allocations: 0.9336 MB / 0.7031 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001575/2.09, allocations: 62.28 kB / 0.7032 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/2.09, allocations: 32 kB / 0.7032 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/2.09, allocations: 0 / 0.7032 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.05166/2.142, allocations: 44.93 MB / 0.7471 GB, free: 197.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) Environment - environmentSimulation: