Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8281/0.8281, allocations: 150.9 MB / 166.4 MB, free: 14.23 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002981, allocations: 15.98 kB / 204.5 MB, free: 9.633 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 31.32 MB / 235.9 MB, free: 5.43 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.TestSimpleStaticCondenser): time 1.561/1.699, allocations: 296.3 MB / 0.5197 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02882/1.728, allocations: 24.03 MB / 0.5432 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/1.728, allocations: 4 kB / 0.5432 GB, free: 3.855 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44: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/SimpleStaticCondenser.mo:61:3-63: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/SimpleStaticCondenser.mo:64:3-66:36: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/SimpleStaticCondenser.mo:67:3-69:37:writable] Warning: Connector Sc 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0004812/1.728, allocations: 209.8 kB / 0.5434 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/1.729, allocations: 260.2 kB / 0.5436 GB, free: 3.398 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.01658/1.745, allocations: 7.43 MB / 0.5509 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009641/1.746, allocations: 0.871 MB / 0.5517 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/1.747, allocations: 244.7 kB / 0.552 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/1.747, allocations: 334.7 kB / 0.5523 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/1.747, allocations: 274.5 kB / 0.5525 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/1.747, allocations: 40 kB / 0.5526 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02305/1.77, allocations: 15.86 MB / 0.5681 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/1.771, allocations: 95.58 kB / 0.5682 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003868/1.771, allocations: 334.2 kB / 0.5685 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/1.784, allocations: 7.079 MB / 0.5754 GB, free: 2.855 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/1.784, allocations: 0 / 0.5754 GB, free: 2.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.784, allocations: 3.938 kB / 0.5754 GB, free: 2.852 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/1.784, allocations: 0 / 0.5754 GB, free: 2.852 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003651/1.788, allocations: 1.475 MB / 0.5768 GB, free: 1.328 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.788, allocations: 15.97 kB / 0.5769 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/1.788, allocations: 73.39 kB / 0.5769 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/1.788, allocations: 314.1 kB / 0.5772 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/1.788, allocations: 29.38 kB / 0.5773 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/1.788, allocations: 36.38 kB / 0.5773 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007997/1.789, allocations: 0.7008 MB / 0.578 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.789, allocations: 0 / 0.578 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/1.789, allocations: 16 kB / 0.578 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/1.789, allocations: 35.97 kB / 0.578 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005746/1.79, allocations: 459.6 kB / 0.5785 GB, free: 15.59 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.07407/1.864, allocations: 36.15 MB / 0.6138 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/1.864, allocations: 371.5 kB / 0.6141 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/1.865, allocations: 294.8 kB / 0.6144 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08336/1.948, allocations: 36.35 MB / 0.6499 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/1.948, allocations: 46.55 kB / 0.6499 GB, free: 15.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.324e-06/1.948, allocations: 0 / 0.6499 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002294/1.951, allocations: 1.2 MB / 0.6511 GB, free: 14.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/1.951, allocations: 51.41 kB / 0.6512 GB, free: 14.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/1.951, allocations: 328.5 kB / 0.6515 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/1.951, allocations: 29.7 kB / 0.6515 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/1.951, allocations: 217.3 kB / 0.6517 GB, free: 13.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/1.951, allocations: 393.8 kB / 0.6521 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.952, allocations: 121.5 kB / 0.6522 GB, free: 12.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.952, allocations: 366.8 kB / 0.6526 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/1.952, allocations: 221.2 kB / 0.6528 GB, free: 12.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/1.952, allocations: 336.3 kB / 0.6531 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000738/1.953, allocations: 0.6098 MB / 0.6537 GB, free: 11.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.953, allocations: 0 / 0.6537 GB, free: 11.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001105/1.954, allocations: 0.7844 MB / 0.6544 GB, free: 10.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.954, allocations: 5.562 kB / 0.6545 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.954, allocations: 7.984 kB / 0.6545 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/1.956, allocations: 335.6 kB / 0.6548 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/1.956, allocations: 19.94 kB / 0.6548 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/1.957, allocations: 1.293 MB / 0.6561 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/1.957, allocations: 70.97 kB / 0.6561 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/1.957, allocations: 16 kB / 0.6561 GB, free: 8.754 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001963/1.958, allocations: 173.7 kB / 0.6563 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/1.958, allocations: 59.22 kB / 0.6564 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/1.961, allocations: 4.027 MB / 0.6603 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001079/1.962, allocations: 0.8196 MB / 0.6611 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.962, allocations: 0 / 0.6611 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.962, allocations: 7.922 kB / 0.6611 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/1.965, allocations: 2.19 MB / 0.6632 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.965, allocations: 0 / 0.6632 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/1.965, allocations: 95.84 kB / 0.6633 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007705/1.966, allocations: 234.9 kB / 0.6636 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/1.966, allocations: 16 kB / 0.6636 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009925/1.967, allocations: 1.329 MB / 0.6649 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.967, allocations: 0 / 0.6649 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/1.969, allocations: 0.9727 MB / 0.6658 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/1.969, allocations: 192 kB / 0.666 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.121e-05/1.969, allocations: 35.59 kB / 0.666 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/1.969, allocations: 20 kB / 0.6661 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/1.969, allocations: 44.53 kB / 0.6661 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/1.969, allocations: 16 kB / 0.6661 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004592/1.97, allocations: 422.8 kB / 0.6665 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.643e-06/1.97, allocations: 0 / 0.6665 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002274/1.972, allocations: 0.9993 MB / 0.6675 GB, free: 12.75 MB / 0.5606 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003864/1.976, allocations: 1.161 MB / 0.6686 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001799/1.978, allocations: 1.038 MB / 0.6696 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.978, allocations: 0.5 kB / 0.6696 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/1.978, allocations: 420.2 kB / 0.67 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/1.98, allocations: 439.6 kB / 0.6705 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.982, allocations: 1.427 MB / 0.6719 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/1.983, allocations: 0.9868 MB / 0.6728 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002878/1.983, allocations: 76.52 kB / 0.6729 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/1.983, allocations: 51.44 kB / 0.6729 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/1.983, allocations: 0 / 0.6729 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of Templates: time 0.1991/2.182, allocations: 44.97 MB / 0.7169 GB, free: 220.9 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)