Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7955/0.7955, allocations: 150.9 MB / 166 MB, free: 14.34 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.000279, allocations: 15.98 kB / 204 MB, free: 9.688 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 31.32 MB / 235.3 MB, free: 5.457 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.TestStaticWaterWaterExchanger): time 1.571/1.711, allocations: 294.2 MB / 0.5172 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03301/1.744, allocations: 25.94 MB / 0.5425 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/1.745, allocations: 4 kB / 0.5425 GB, free: 2.52 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42: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/StaticWaterWaterExchanger.mo:84:3-86:38: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/StaticWaterWaterExchanger.mo:87:3-89: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/StaticWaterWaterExchanger.mo:90:3-92: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.0005954/1.745, allocations: 133.1 kB / 0.5426 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007209/1.746, allocations: 234.3 kB / 0.5429 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01809/1.764, allocations: 5.254 MB / 0.548 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/1.766, allocations: 0.9217 MB / 0.5489 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/1.766, allocations: 264.7 kB / 0.5491 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/1.767, allocations: 342.4 kB / 0.5495 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/1.767, allocations: 318.5 kB / 0.5498 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/1.767, allocations: 32 kB / 0.5498 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02332/1.79, allocations: 15.19 MB / 0.5646 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/1.79, allocations: 107.5 kB / 0.5647 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004604/1.791, allocations: 350.1 kB / 0.5651 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/1.804, allocations: 6.923 MB / 0.5718 GB, free: 4.445 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.804, allocations: 0 / 0.5718 GB, free: 4.445 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/1.804, allocations: 0 / 0.5718 GB, free: 4.445 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/1.804, allocations: 0 / 0.5718 GB, free: 4.445 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004208/1.809, allocations: 1.536 MB / 0.5733 GB, free: 2.859 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.809, allocations: 11.97 kB / 0.5733 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/1.809, allocations: 68.09 kB / 0.5734 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/1.809, allocations: 345.8 kB / 0.5737 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/1.809, allocations: 130.1 kB / 0.5739 GB, free: 2.262 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/1.809, allocations: 49.36 kB / 0.5739 GB, free: 2.215 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.811, allocations: 0.7812 MB / 0.5747 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.811, allocations: 0 / 0.5747 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/1.811, allocations: 20 kB / 0.5747 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/1.811, allocations: 35.97 kB / 0.5747 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/1.812, allocations: 0.5786 MB / 0.5753 GB, free: 0.7578 MB / 462.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.06993/1.882, allocations: 36.42 MB / 0.6109 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/1.883, allocations: 0.5453 MB / 0.6114 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/1.884, allocations: 358.7 kB / 0.6117 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06879/1.953, allocations: 33.58 MB / 0.6445 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.953, allocations: 42.55 kB / 0.6446 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.514e-06/1.953, allocations: 3.938 kB / 0.6446 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01825/1.971, allocations: 3.296 MB / 0.6478 GB, free: 15.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/1.971, allocations: 55.41 kB / 0.6478 GB, free: 15.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/1.971, allocations: 336.4 kB / 0.6482 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/1.971, allocations: 29.7 kB / 0.6482 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/1.972, allocations: 229.2 kB / 0.6484 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/1.972, allocations: 405.7 kB / 0.6488 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/1.972, allocations: 130 kB / 0.6489 GB, free: 14.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.972, allocations: 378.8 kB / 0.6493 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006198/1.973, allocations: 277.6 kB / 0.6495 GB, free: 13.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006634/1.974, allocations: 393.1 kB / 0.6499 GB, free: 13.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/1.975, allocations: 0.7186 MB / 0.6506 GB, free: 12.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.975, allocations: 0 / 0.6506 GB, free: 12.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004505/1.979, allocations: 1.279 MB / 0.6519 GB, free: 11.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.979, allocations: 8 kB / 0.6519 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.979, allocations: 0 / 0.6519 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/1.983, allocations: 1.385 MB / 0.6532 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.983, allocations: 23.92 kB / 0.6533 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/1.986, allocations: 1.386 MB / 0.6546 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/1.986, allocations: 94.95 kB / 0.6547 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/1.986, allocations: 23.98 kB / 0.6547 GB, free: 8.195 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 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002642/1.987, allocations: 175.7 kB / 0.6549 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/1.987, allocations: 51.25 kB / 0.6549 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/1.991, allocations: 3.959 MB / 0.6588 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002737/1.994, allocations: 1.29 MB / 0.6601 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.994, allocations: 4 kB / 0.6601 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.994, allocations: 3.984 kB / 0.6601 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007145/2.001, allocations: 2.942 MB / 0.6629 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/2.001, allocations: 0 / 0.6629 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/2.001, allocations: 95.89 kB / 0.663 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003668/2.005, allocations: 1.426 MB / 0.6644 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/2.005, allocations: 27.92 kB / 0.6645 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/2.007, allocations: 1.491 MB / 0.6659 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/2.007, allocations: 4 kB / 0.6659 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004977/2.012, allocations: 1.499 MB / 0.6674 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/2.012, allocations: 163.9 kB / 0.6675 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/2.012, allocations: 28.03 kB / 0.6676 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/2.013, allocations: 31.83 kB / 0.6676 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/2.013, allocations: 64.91 kB / 0.6677 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/2.013, allocations: 24 kB / 0.6677 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004155/2.014, allocations: 387.1 kB / 0.668 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/2.014, allocations: 0 / 0.668 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002734/2.016, allocations: 1.05 MB / 0.6691 GB, free: 9.203 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 (62): * Single equations (assignments): 61 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004647/2.021, allocations: 1.194 MB / 0.6702 GB, free: 8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002158/2.023, allocations: 1.139 MB / 0.6714 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/2.023, allocations: 0 / 0.6714 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/2.024, allocations: 0.5277 MB / 0.6719 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/2.026, allocations: 417.8 kB / 0.6723 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/2.029, allocations: 1.893 MB / 0.6741 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/2.029, allocations: 0.9948 MB / 0.6751 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003005/2.03, allocations: 64.83 kB / 0.6751 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/2.03, allocations: 39.44 kB / 0.6752 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/2.03, allocations: 0 / 0.6752 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of Templates: time 0.2124/2.242, allocations: 48.18 MB / 0.7222 GB, free: 217.5 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1)