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.8687/0.8687, allocations: 150.8 MB / 166.6 MB, free: 11.17 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 23.91 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1739, allocations: 31.32 MB / 236 MB, free: 3.891 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestBend): time 1.566/1.74, allocations: 292.1 MB / 0.5157 GB, free: 9.914 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04276/1.783, allocations: 38.25 MB / 0.5531 GB, free: 3.789 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/1.783, allocations: 0 / 0.5531 GB, free: 3.789 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Bend.mo:55:3-57:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Bend.mo:58:3-60:43:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005126/1.784, allocations: 248.8 kB / 0.5533 GB, free: 3.547 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/1.784, allocations: 239.1 kB / 0.5536 GB, free: 3.312 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01938/1.803, allocations: 7.349 MB / 0.5607 GB, free: 11.96 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006016/1.804, allocations: 478.8 kB / 0.5612 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/1.804, allocations: 173.8 kB / 0.5614 GB, free: 11.33 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/1.804, allocations: 219.1 kB / 0.5616 GB, free: 11.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/1.805, allocations: 287.1 kB / 0.5618 GB, free: 10.83 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/1.805, allocations: 16 kB / 0.5619 GB, free: 10.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02661/1.831, allocations: 17.87 MB / 0.5793 GB, free: 8.918 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/1.832, allocations: 175.3 kB / 0.5795 GB, free: 8.746 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/1.832, allocations: 258.3 kB / 0.5797 GB, free: 8.492 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01981/1.852, allocations: 8.854 MB / 0.5884 GB, free: 15.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.852, allocations: 0 / 0.5884 GB, free: 15.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/1.852, allocations: 0 / 0.5884 GB, free: 15.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/1.852, allocations: 0 / 0.5884 GB, free: 15.62 MB / 490.7 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.003608/1.855, allocations: 1.831 MB / 0.5902 GB, free: 13.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/1.855, allocations: 12.03 kB / 0.5902 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.865e-05/1.856, allocations: 67.16 kB / 0.5902 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/1.856, allocations: 494.2 kB / 0.5907 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/1.856, allocations: 20.56 kB / 0.5907 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/1.856, allocations: 24 kB / 0.5907 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/1.857, allocations: 437.2 kB / 0.5912 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.857, allocations: 0 / 0.5912 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/1.857, allocations: 15.94 kB / 0.5912 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/1.857, allocations: 15.98 kB / 0.5912 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/1.857, allocations: 345.7 kB / 0.5915 GB, free: 12.25 MB / 490.7 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.03728/1.894, allocations: 18.59 MB / 0.6097 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/1.895, allocations: 174.6 kB / 0.6098 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/1.895, allocations: 105.5 kB / 0.6099 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1539/2.049, allocations: 77.46 MB / 0.6856 GB, free: 1.23 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/2.049, allocations: 38.56 kB / 0.6856 GB, free: 1.184 MB / 0.573 GB Notification: Performance of pre-optimization done (n=38): time 2.054e-06/2.049, allocations: 0 / 0.6856 GB, free: 1.184 MB / 0.573 GB Notification: Performance of matching and sorting (n=38): time 0.001804/2.051, allocations: 0.5878 MB / 0.6862 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/2.051, allocations: 106.8 kB / 0.6863 GB, free: 448 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1615/2.213, allocations: 1.006 MB / 0.6873 GB, free: 222.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/2.213, allocations: 25.7 kB / 0.6873 GB, free: 222.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/2.213, allocations: 304.2 kB / 0.6876 GB, free: 222.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/2.213, allocations: 127.5 kB / 0.6877 GB, free: 222.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/2.213, allocations: 66.38 kB / 0.6878 GB, free: 222.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001195/2.213, allocations: 384.3 kB / 0.6882 GB, free: 222 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/2.213, allocations: 155.5 kB / 0.6883 GB, free: 222 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/2.214, allocations: 239.3 kB / 0.6885 GB, free: 221.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/2.214, allocations: 335.1 kB / 0.6888 GB, free: 221.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/2.214, allocations: 1.812 kB / 0.6889 GB, free: 221.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007178/2.215, allocations: 0.5262 MB / 0.6894 GB, free: 221.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/2.215, allocations: 6.812 kB / 0.6894 GB, free: 221.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/2.215, allocations: 2.25 kB / 0.6894 GB, free: 221.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/2.216, allocations: 221.3 kB / 0.6896 GB, free: 221.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/2.217, allocations: 26.42 kB / 0.6896 GB, free: 221.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005343/2.217, allocations: 0.6762 MB / 0.6903 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/2.217, allocations: 43.25 kB / 0.6903 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/2.217, allocations: 8.938 kB / 0.6903 GB, free: 221.2 MB / 0.573 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.0002352/2.218, allocations: 256.4 kB / 0.6906 GB, free: 221.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/2.218, allocations: 61.59 kB / 0.6906 GB, free: 221.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/2.218, allocations: 0.7015 MB / 0.6913 GB, free: 220.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000313/2.219, allocations: 249.2 kB / 0.6915 GB, free: 220.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/2.219, allocations: 3 kB / 0.6915 GB, free: 220.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/2.219, allocations: 3.141 kB / 0.6916 GB, free: 220.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/2.22, allocations: 0.985 MB / 0.6925 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/2.22, allocations: 0.875 kB / 0.6925 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/2.22, allocations: 21.92 kB / 0.6925 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/2.221, allocations: 217.5 kB / 0.6927 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/2.221, allocations: 2.328 kB / 0.6927 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004775/2.222, allocations: 0.7062 MB / 0.6934 GB, free: 219.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/2.222, allocations: 1.281 kB / 0.6934 GB, free: 219.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009628/2.223, allocations: 1.221 MB / 0.6946 GB, free: 219.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/2.223, allocations: 169 kB / 0.6948 GB, free: 219 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/2.223, allocations: 19.69 kB / 0.6948 GB, free: 219 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/2.223, allocations: 12.27 kB / 0.6948 GB, free: 219 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/2.223, allocations: 10.41 kB / 0.6948 GB, free: 219 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/2.223, allocations: 8.562 kB / 0.6948 GB, free: 219 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008321/2.224, allocations: 0.8104 MB / 0.6956 GB, free: 218.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/2.224, allocations: 3.828 kB / 0.6956 GB, free: 218.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00357/2.228, allocations: 1.293 MB / 0.6969 GB, free: 218.8 MB / 0.573 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.00477/2.233, allocations: 1.844 MB / 0.6987 GB, free: 218.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006861/2.233, allocations: 351.9 kB / 0.699 GB, free: 218.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.233, allocations: 0 / 0.699 GB, free: 218.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/2.234, allocations: 113.1 kB / 0.6991 GB, free: 218.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009006/2.234, allocations: 148.3 kB / 0.6993 GB, free: 218.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/2.236, allocations: 1.502 MB / 0.7007 GB, free: 217.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/2.236, allocations: 0.9395 MB / 0.7017 GB, free: 217.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001513/2.236, allocations: 58.33 kB / 0.7017 GB, free: 217.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/2.237, allocations: 32.81 kB / 0.7018 GB, free: 217.2 MB / 0.573 GB Notification: Performance of SimCode: time 3.31e-07/2.237, allocations: 1.188 kB / 0.7018 GB, free: 217.2 MB / 0.573 GB Notification: Performance of Templates: time 0.04926/2.286, allocations: 45.78 MB / 0.7465 GB, free: 188.9 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile (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)