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.7331/0.7331, allocations: 150.8 MB / 166.1 MB, free: 15.14 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.565e-05, allocations: 4 kB / 204.8 MB, free: 9.68 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 31.98 MB / 236.8 MB, free: 5.344 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.421/1.556, allocations: 294.9 MB / 0.5192 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02822/1.585, allocations: 26.7 MB / 0.5452 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/1.585, allocations: 4 kB / 0.5452 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/1.585, allocations: 171.1 kB / 0.5454 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/1.586, allocations: 202.5 kB / 0.5456 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01251/1.598, allocations: 5.465 MB / 0.5509 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007758/1.599, allocations: 0.7631 MB / 0.5517 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/1.599, allocations: 216.9 kB / 0.5519 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/1.6, allocations: 258.7 kB / 0.5521 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/1.6, allocations: 226.7 kB / 0.5524 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/1.6, allocations: 20 kB / 0.5524 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02201/1.622, allocations: 16.94 MB / 0.5689 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.234e-05/1.622, allocations: 75.56 kB / 0.569 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003094/1.622, allocations: 296.2 kB / 0.5693 GB, free: 9.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/1.634, allocations: 7.144 MB / 0.5762 GB, free: 1.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.634, allocations: 0 / 0.5762 GB, free: 1.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/1.634, allocations: 4 kB / 0.5762 GB, free: 1.906 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/1.634, allocations: 0 / 0.5762 GB, free: 1.906 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.003107/1.637, allocations: 1.353 MB / 0.5776 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/1.637, allocations: 8.031 kB / 0.5776 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/1.637, allocations: 64.19 kB / 0.5776 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/1.637, allocations: 315.2 kB / 0.5779 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/1.637, allocations: 59.27 kB / 0.578 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/1.637, allocations: 40.17 kB / 0.578 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/1.638, allocations: 0.6328 MB / 0.5787 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.638, allocations: 5.484 kB / 0.5787 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/1.638, allocations: 16 kB / 0.5787 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/1.638, allocations: 31.97 kB / 0.5787 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/1.639, allocations: 435 kB / 0.5791 GB, free: 14.84 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.03513/1.674, allocations: 19.56 MB / 0.5982 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/1.675, allocations: 352.7 kB / 0.5986 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/1.675, allocations: 270.7 kB / 0.5988 GB, free: 8.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.083/1.758, allocations: 41.66 MB / 0.6395 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/1.758, allocations: 34.56 kB / 0.6395 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 1.934e-06/1.758, allocations: 3.938 kB / 0.6395 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004218/1.762, allocations: 1.459 MB / 0.641 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/1.762, allocations: 55.41 kB / 0.641 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/1.763, allocations: 345.5 kB / 0.6413 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/1.763, allocations: 25.7 kB / 0.6414 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/1.763, allocations: 197.3 kB / 0.6416 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/1.763, allocations: 342.8 kB / 0.6419 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/1.763, allocations: 69.67 kB / 0.6419 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.763, allocations: 366.7 kB / 0.6423 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/1.763, allocations: 192.9 kB / 0.6425 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/1.764, allocations: 298.4 kB / 0.6428 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/1.765, allocations: 0.5433 MB / 0.6433 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.765, allocations: 0 / 0.6433 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001139/1.766, allocations: 0.7617 MB / 0.644 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.766, allocations: 9.406 kB / 0.644 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.766, allocations: 4 kB / 0.6441 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/1.768, allocations: 0.721 MB / 0.6448 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/1.768, allocations: 11.94 kB / 0.6448 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/1.769, allocations: 1.054 MB / 0.6458 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/1.77, allocations: 75.17 kB / 0.6459 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/1.77, allocations: 16 kB / 0.6459 GB, free: 4.266 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.0001761/1.77, allocations: 166.2 kB / 0.646 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/1.77, allocations: 51.25 kB / 0.6461 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/1.772, allocations: 2.063 MB / 0.6481 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001311/1.773, allocations: 1.011 MB / 0.6491 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.773, allocations: 0 / 0.6491 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.773, allocations: 3.984 kB / 0.6491 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/1.776, allocations: 2.353 MB / 0.6514 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.776, allocations: 0 / 0.6514 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/1.776, allocations: 87.91 kB / 0.6515 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001767/1.778, allocations: 0.7395 MB / 0.6522 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/1.778, allocations: 12 kB / 0.6522 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.78, allocations: 1.116 MB / 0.6533 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.78, allocations: 0 / 0.6533 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/1.781, allocations: 1.132 MB / 0.6544 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/1.781, allocations: 231.7 kB / 0.6546 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/1.781, allocations: 19.92 kB / 0.6546 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/1.782, allocations: 20 kB / 0.6547 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/1.782, allocations: 50.92 kB / 0.6547 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/1.782, allocations: 20.12 kB / 0.6547 GB, free: 10.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002938/1.782, allocations: 319.1 kB / 0.655 GB, free: 10.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.782, allocations: 3.938 kB / 0.655 GB, free: 10.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002112/1.784, allocations: 0.9682 MB / 0.656 GB, free: 9.691 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.003283/1.787, allocations: 1.153 MB / 0.6571 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001672/1.789, allocations: 0.9956 MB / 0.6581 GB, free: 7.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.789, allocations: 0 / 0.6581 GB, free: 7.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009724/1.79, allocations: 0.4913 MB / 0.6586 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/1.792, allocations: 383.2 kB / 0.6589 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/1.794, allocations: 1.727 MB / 0.6606 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/1.794, allocations: 0.9632 MB / 0.6616 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000235/1.794, allocations: 76.2 kB / 0.6616 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/1.794, allocations: 47.44 kB / 0.6617 GB, free: 3.773 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/1.794, allocations: 0 / 0.6617 GB, free: 3.773 MB / 0.545 GB Notification: Performance of Templates: time 0.2007/1.995, allocations: 43.21 MB / 0.7039 GB, free: 228.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1) Environment - environmentSimulation: