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.8068/0.8068, allocations: 150.9 MB / 166 MB, free: 14.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002794, allocations: 15.97 kB / 204 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 31.34 MB / 235.4 MB, free: 5.445 MB / 190.1 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.509/1.648, allocations: 292.8 MB / 0.5158 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04236/1.69, allocations: 38.25 MB / 0.5531 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/1.69, allocations: 4 kB / 0.5531 GB, free: 7.645 MB / 446.1 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.000575/1.691, allocations: 248.1 kB / 0.5534 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004067/1.691, allocations: 247 kB / 0.5536 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01985/1.711, allocations: 7.346 MB / 0.5608 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006082/1.712, allocations: 478.8 kB / 0.5612 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/1.712, allocations: 170.8 kB / 0.5614 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/1.712, allocations: 207.2 kB / 0.5616 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/1.713, allocations: 295.1 kB / 0.5619 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/1.713, allocations: 16 kB / 0.5619 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02861/1.741, allocations: 17.87 MB / 0.5793 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/1.742, allocations: 175.3 kB / 0.5795 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/1.742, allocations: 258.2 kB / 0.5798 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01742/1.759, allocations: 8.858 MB / 0.5884 GB, free: 3.469 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.759, allocations: 0 / 0.5884 GB, free: 3.469 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/1.759, allocations: 0 / 0.5884 GB, free: 3.469 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/1.759, allocations: 0 / 0.5884 GB, free: 3.469 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.004105/1.764, allocations: 1.815 MB / 0.5902 GB, free: 1.602 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/1.764, allocations: 16.03 kB / 0.5902 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.764, allocations: 63.16 kB / 0.5903 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/1.764, allocations: 494.2 kB / 0.5907 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.764, allocations: 20.56 kB / 0.5907 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/1.764, allocations: 27.94 kB / 0.5908 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/1.765, allocations: 437.2 kB / 0.5912 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.765, allocations: 0 / 0.5912 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/1.765, allocations: 12 kB / 0.5912 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/1.765, allocations: 15.98 kB / 0.5912 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/1.765, allocations: 341.7 kB / 0.5915 GB, free: 128 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.03561/1.801, allocations: 18.59 MB / 0.6097 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/1.802, allocations: 180.5 kB / 0.6099 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/1.802, allocations: 105.5 kB / 0.61 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1412/1.943, allocations: 77.47 MB / 0.6856 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.943, allocations: 38.5 kB / 0.6857 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 1.933e-06/1.943, allocations: 0 / 0.6857 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001848/1.945, allocations: 0.5956 MB / 0.6862 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/1.945, allocations: 102.8 kB / 0.6863 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/1.946, allocations: 1.008 MB / 0.6873 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/1.946, allocations: 25.7 kB / 0.6873 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/1.946, allocations: 304.1 kB / 0.6876 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/1.947, allocations: 130.1 kB / 0.6878 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/1.947, allocations: 65.59 kB / 0.6878 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.947, allocations: 382.7 kB / 0.6882 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/1.947, allocations: 156.4 kB / 0.6883 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/1.947, allocations: 243.1 kB / 0.6886 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/1.948, allocations: 336.7 kB / 0.6889 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.948, allocations: 0 / 0.6889 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007275/1.948, allocations: 0.5306 MB / 0.6894 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.948, allocations: 8.219 kB / 0.6894 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.948, allocations: 4 kB / 0.6894 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/1.95, allocations: 222 kB / 0.6896 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/1.95, allocations: 23.94 kB / 0.6896 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006367/1.951, allocations: 0.6732 MB / 0.6903 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/1.951, allocations: 43.58 kB / 0.6903 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/1.951, allocations: 12 kB / 0.6904 GB, free: 44 kB / 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.1513/2.102, allocations: 246.9 kB / 0.6906 GB, free: 226 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/2.103, allocations: 63.58 kB / 0.6907 GB, free: 226 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/2.103, allocations: 0.696 MB / 0.6913 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003269/2.104, allocations: 255.8 kB / 0.6916 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/2.104, allocations: 1.938 kB / 0.6916 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/2.104, allocations: 2.625 kB / 0.6916 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/2.105, allocations: 0.9773 MB / 0.6925 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/2.105, allocations: 1.719 kB / 0.6925 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/2.105, allocations: 19.11 kB / 0.6926 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/2.106, allocations: 219.8 kB / 0.6928 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/2.106, allocations: 4.125 kB / 0.6928 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005272/2.107, allocations: 0.7042 MB / 0.6935 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.107, allocations: 6.766 kB / 0.6935 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/2.107, allocations: 410.1 kB / 0.6939 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/2.108, allocations: 177.8 kB / 0.694 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/2.108, allocations: 12.02 kB / 0.694 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/2.108, allocations: 17.58 kB / 0.6941 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/2.108, allocations: 11.42 kB / 0.6941 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/2.108, allocations: 9.5 kB / 0.6941 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009121/2.109, allocations: 0.8106 MB / 0.6949 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.109, allocations: 0 / 0.6949 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002984/2.112, allocations: 1.252 MB / 0.6961 GB, free: 224.4 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.00531/2.117, allocations: 1.832 MB / 0.6979 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006457/2.118, allocations: 363.5 kB / 0.6982 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.118, allocations: 0 / 0.6982 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/2.118, allocations: 115 kB / 0.6983 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008674/2.119, allocations: 144.6 kB / 0.6985 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/2.121, allocations: 1.316 MB / 0.6998 GB, free: 223.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/2.121, allocations: 0.9311 MB / 0.7007 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001723/2.121, allocations: 59.61 kB / 0.7007 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/2.121, allocations: 31.91 kB / 0.7008 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.9e-07/2.121, allocations: 1.031 kB / 0.7008 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.04777/2.169, allocations: 45.53 MB / 0.7452 GB, free: 195.8 MB / 0.5762 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)