Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8324/0.8324, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.522e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.174, allocations: 31.97 MB / 236.8 MB, free: 5.68 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.SimpleExamples.TestBend): time 1.653/1.827, allocations: 293.7 MB / 0.5181 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04964/1.877, allocations: 37.68 MB / 0.5549 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/1.877, allocations: 4 kB / 0.5549 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/1.878, allocations: 239.2 kB / 0.5551 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/1.878, allocations: 247.1 kB / 0.5553 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02469/1.903, allocations: 7.497 MB / 0.5627 GB, free: 8 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007279/1.904, allocations: 470.9 kB / 0.5631 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/1.904, allocations: 162.7 kB / 0.5633 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/1.904, allocations: 203.1 kB / 0.5634 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/1.905, allocations: 279.1 kB / 0.5637 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/1.905, allocations: 12 kB / 0.5637 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03579/1.941, allocations: 17.94 MB / 0.5813 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/1.941, allocations: 167.4 kB / 0.5814 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003354/1.941, allocations: 279.9 kB / 0.5817 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02237/1.964, allocations: 8.756 MB / 0.5902 GB, free: 3.711 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.964, allocations: 4 kB / 0.5902 GB, free: 3.707 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.825e-06/1.964, allocations: 0 / 0.5902 GB, free: 3.707 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.065e-05/1.964, allocations: 0 / 0.5902 GB, free: 3.707 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.00505/1.969, allocations: 1.718 MB / 0.5919 GB, free: 1.938 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.969, allocations: 8.031 kB / 0.5919 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/1.969, allocations: 71.06 kB / 0.592 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/1.97, allocations: 494.3 kB / 0.5925 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/1.97, allocations: 16.56 kB / 0.5925 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/1.97, allocations: 25.5 kB / 0.5925 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/1.971, allocations: 437.2 kB / 0.5929 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.971, allocations: 4 kB / 0.5929 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/1.971, allocations: 8 kB / 0.5929 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/1.971, allocations: 11.98 kB / 0.5929 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/1.971, allocations: 341.7 kB / 0.5933 GB, free: 484 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.03904/2.01, allocations: 18.73 MB / 0.6116 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/2.011, allocations: 180 kB / 0.6117 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/2.011, allocations: 105.4 kB / 0.6118 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1572/2.168, allocations: 78.14 MB / 0.6881 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/2.168, allocations: 34.56 kB / 0.6882 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.615e-06/2.168, allocations: 0 / 0.6882 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001962/2.17, allocations: 0.5996 MB / 0.6887 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/2.17, allocations: 102.8 kB / 0.6888 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/2.172, allocations: 1.012 MB / 0.6898 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/2.172, allocations: 25.7 kB / 0.6899 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/2.172, allocations: 300.2 kB / 0.6901 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/2.172, allocations: 122.1 kB / 0.6903 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/2.172, allocations: 41.69 kB / 0.6903 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001613/2.172, allocations: 386.7 kB / 0.6907 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/2.173, allocations: 156.4 kB / 0.6908 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/2.173, allocations: 239.1 kB / 0.691 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/2.173, allocations: 336.4 kB / 0.6914 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.173, allocations: 0 / 0.6914 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007963/2.174, allocations: 0.5362 MB / 0.6919 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/2.174, allocations: 7.984 kB / 0.6919 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/2.174, allocations: 4 kB / 0.6919 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/2.176, allocations: 246.2 kB / 0.6921 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/2.176, allocations: 19.94 kB / 0.6922 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1853/2.361, allocations: 0.673 MB / 0.6928 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/2.362, allocations: 39.5 kB / 0.6929 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/2.362, allocations: 14 kB / 0.6929 GB, free: 228.3 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.0003704/2.362, allocations: 247.4 kB / 0.6931 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/2.362, allocations: 60.47 kB / 0.6932 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008897/2.363, allocations: 0.7084 MB / 0.6938 GB, free: 228 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003418/2.364, allocations: 250.3 kB / 0.6941 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/2.364, allocations: 2.766 kB / 0.6941 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/2.364, allocations: 0 / 0.6941 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/2.365, allocations: 0.9818 MB / 0.695 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/2.365, allocations: 1.188 kB / 0.6951 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/2.365, allocations: 18.62 kB / 0.6951 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/2.366, allocations: 233.2 kB / 0.6953 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/2.366, allocations: 6.922 kB / 0.6953 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005495/2.367, allocations: 0.7019 MB / 0.696 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/2.367, allocations: 0 / 0.696 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/2.368, allocations: 416.8 kB / 0.6964 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/2.368, allocations: 203.5 kB / 0.6966 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/2.368, allocations: 3.156 kB / 0.6966 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/2.368, allocations: 12.58 kB / 0.6966 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/2.368, allocations: 16.16 kB / 0.6966 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/2.368, allocations: 8.125 kB / 0.6966 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00127/2.37, allocations: 0.8115 MB / 0.6974 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.142e-06/2.37, allocations: 0.5625 kB / 0.6974 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005155/2.375, allocations: 1.255 MB / 0.6986 GB, free: 226.6 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.008312/2.383, allocations: 1.813 MB / 0.7004 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001151/2.384, allocations: 360 kB / 0.7007 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/2.384, allocations: 0 / 0.7007 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/2.385, allocations: 109.7 kB / 0.7008 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/2.386, allocations: 147.1 kB / 0.701 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/2.387, allocations: 1.338 MB / 0.7023 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/2.388, allocations: 0.9341 MB / 0.7032 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001985/2.388, allocations: 56.73 kB / 0.7033 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/2.388, allocations: 32.09 kB / 0.7033 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/2.388, allocations: 0 / 0.7033 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.05348/2.442, allocations: 44.93 MB / 0.7472 GB, free: 198.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) Environment - environmentSimulation: