Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8139/0.8139, allocations: 150.9 MB / 167.1 MB, free: 14.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 11.98 kB / 205.9 MB, free: 9.016 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 31.34 MB / 237.3 MB, free: 5.941 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.572/1.699, allocations: 295.8 MB / 0.5206 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02705/1.726, allocations: 23.75 MB / 0.5438 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/1.727, allocations: 4 kB / 0.5438 GB, free: 4.469 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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/BoundaryConditions/SourceQ.mo:24:3-25:52: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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37:writable] Warning: Connector Ec 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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74:42:writable] Warning: Connector Ef 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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77:37:writable] Warning: Connector Sf 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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc 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.0005238/1.727, allocations: 221.6 kB / 0.544 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003716/1.728, allocations: 223.9 kB / 0.5442 GB, free: 4.035 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01745/1.745, allocations: 7.619 MB / 0.5517 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000907/1.746, allocations: 0.8099 MB / 0.5524 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/1.746, allocations: 249.2 kB / 0.5527 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/1.747, allocations: 314.8 kB / 0.553 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/1.747, allocations: 250.7 kB / 0.5532 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/1.747, allocations: 40 kB / 0.5533 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02456/1.772, allocations: 17.17 MB / 0.57 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/1.772, allocations: 95.58 kB / 0.5701 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/1.772, allocations: 302.5 kB / 0.5704 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/1.783, allocations: 7.196 MB / 0.5774 GB, free: 2.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.783, allocations: 0 / 0.5774 GB, free: 2.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/1.783, allocations: 0 / 0.5774 GB, free: 2.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/1.783, allocations: 0 / 0.5774 GB, free: 2.008 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003148/1.787, allocations: 1.439 MB / 0.5788 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/1.787, allocations: 8.031 kB / 0.5788 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.988e-05/1.787, allocations: 64.09 kB / 0.5789 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/1.787, allocations: 315.8 kB / 0.5792 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/1.787, allocations: 59.27 kB / 0.5793 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/1.787, allocations: 40.12 kB / 0.5793 GB, free: 0 / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008717/1.788, allocations: 0.6367 MB / 0.5799 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.788, allocations: 0 / 0.5799 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/1.788, allocations: 16 kB / 0.5799 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/1.788, allocations: 35.95 kB / 0.58 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/1.789, allocations: 435 kB / 0.5804 GB, free: 14.85 MB / 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.03793/1.827, allocations: 19.52 MB / 0.5995 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/1.827, allocations: 351.8 kB / 0.5998 GB, free: 9.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/1.828, allocations: 278.7 kB / 0.6001 GB, free: 8.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08967/1.918, allocations: 41.55 MB / 0.6406 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/1.918, allocations: 34.56 kB / 0.6407 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.265e-06/1.918, allocations: 0 / 0.6407 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.00448/1.922, allocations: 1.444 MB / 0.6421 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/1.922, allocations: 55.41 kB / 0.6421 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/1.923, allocations: 341.5 kB / 0.6425 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/1.923, allocations: 29.7 kB / 0.6425 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/1.923, allocations: 205.2 kB / 0.6427 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/1.923, allocations: 330.9 kB / 0.643 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/1.923, allocations: 105.6 kB / 0.6431 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.923, allocations: 366.8 kB / 0.6434 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/1.924, allocations: 192.9 kB / 0.6436 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/1.924, allocations: 294.4 kB / 0.6439 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007805/1.925, allocations: 0.5511 MB / 0.6444 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.925, allocations: 0 / 0.6444 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001265/1.926, allocations: 0.7619 MB / 0.6452 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.926, allocations: 9.406 kB / 0.6452 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.926, allocations: 0 / 0.6452 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/1.928, allocations: 0.7207 MB / 0.6459 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/1.928, allocations: 15.92 kB / 0.6459 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/1.93, allocations: 1.05 MB / 0.6469 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/1.93, allocations: 63.19 kB / 0.647 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/1.93, allocations: 23.92 kB / 0.647 GB, free: 4.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001984/1.93, allocations: 173.7 kB / 0.6472 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/1.931, allocations: 51.25 kB / 0.6472 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/1.933, allocations: 2.052 MB / 0.6492 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001428/1.934, allocations: 1.003 MB / 0.6502 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.934, allocations: 0 / 0.6502 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.934, allocations: 3.984 kB / 0.6502 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/1.937, allocations: 2.318 MB / 0.6525 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.937, allocations: 0 / 0.6525 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/1.938, allocations: 95.84 kB / 0.6526 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007389/1.938, allocations: 493.3 kB / 0.6531 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/1.939, allocations: 16 kB / 0.6531 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/1.94, allocations: 1.108 MB / 0.6542 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.94, allocations: 3.984 kB / 0.6542 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/1.942, allocations: 1.132 MB / 0.6553 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/1.942, allocations: 201.2 kB / 0.6555 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/1.942, allocations: 19.94 kB / 0.6555 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.942, allocations: 16 kB / 0.6555 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/1.942, allocations: 52.52 kB / 0.6555 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/1.942, allocations: 20 kB / 0.6556 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003279/1.943, allocations: 319.1 kB / 0.6559 GB, free: 11.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.943, allocations: 0 / 0.6559 GB, free: 11.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002181/1.945, allocations: 0.9682 MB / 0.6568 GB, free: 10.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003818/1.949, allocations: 1.146 MB / 0.6579 GB, free: 9.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001727/1.95, allocations: 1.02 MB / 0.6589 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.95, allocations: 0 / 0.6589 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/1.951, allocations: 0.4915 MB / 0.6594 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/1.953, allocations: 391.2 kB / 0.6598 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/1.955, allocations: 1.385 MB / 0.6611 GB, free: 5.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/1.956, allocations: 0.9671 MB / 0.6621 GB, free: 4.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002134/1.956, allocations: 64.23 kB / 0.6621 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/1.956, allocations: 43.44 kB / 0.6622 GB, free: 4.59 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/1.956, allocations: 0 / 0.6622 GB, free: 4.59 MB / 0.545 GB Notification: Performance of Templates: time 0.1989/2.155, allocations: 44.18 MB / 0.7053 GB, free: 226.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1)