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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.79/0.79, allocations: 150.9 MB / 166 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 15.97 kB / 204.1 MB, free: 10.03 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 31.33 MB / 235.4 MB, free: 5.426 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.515/1.65, allocations: 295.2 MB / 0.5182 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03002/1.68, allocations: 25.94 MB / 0.5435 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/1.68, allocations: 4 kB / 0.5435 GB, free: 2.383 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.0004241/1.681, allocations: 132.9 kB / 0.5437 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004248/1.681, allocations: 230.3 kB / 0.5439 GB, free: 2.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01321/1.695, allocations: 5.267 MB / 0.549 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/1.696, allocations: 0.9177 MB / 0.5499 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/1.696, allocations: 271 kB / 0.5502 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/1.696, allocations: 338.4 kB / 0.5505 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/1.696, allocations: 318.5 kB / 0.5508 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/1.697, allocations: 32 kB / 0.5508 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02102/1.718, allocations: 15.19 MB / 0.5657 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/1.718, allocations: 107.5 kB / 0.5658 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004203/1.718, allocations: 338.2 kB / 0.5661 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/1.729, allocations: 6.927 MB / 0.5729 GB, free: 4.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.729, allocations: 0 / 0.5729 GB, free: 4.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.544e-06/1.729, allocations: 0 / 0.5729 GB, free: 4.312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/1.729, allocations: 7.875 kB / 0.5729 GB, free: 4.305 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.003806/1.733, allocations: 1.54 MB / 0.5744 GB, free: 2.715 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.733, allocations: 12.03 kB / 0.5744 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/1.733, allocations: 119.4 kB / 0.5745 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/1.733, allocations: 68.09 kB / 0.5746 GB, free: 2.512 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/1.733, allocations: 349.6 kB / 0.5749 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/1.733, allocations: 122.1 kB / 0.575 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/1.733, allocations: 48 kB / 0.5751 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/1.735, allocations: 0.7774 MB / 0.5758 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.735, allocations: 7.938 kB / 0.5758 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/1.735, allocations: 20 kB / 0.5758 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/1.735, allocations: 35.97 kB / 0.5759 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/1.736, allocations: 0.5786 MB / 0.5764 GB, free: 500 kB / 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.06949/1.805, allocations: 36.41 MB / 0.612 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.807, allocations: 0.5428 MB / 0.6125 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/1.807, allocations: 358.8 kB / 0.6129 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06877/1.876, allocations: 33.58 MB / 0.6457 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.876, allocations: 42.56 kB / 0.6457 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.555e-06/1.876, allocations: 0 / 0.6457 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01814/1.894, allocations: 3.292 MB / 0.6489 GB, free: 15.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/1.894, allocations: 55.41 kB / 0.649 GB, free: 15.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/1.895, allocations: 336.4 kB / 0.6493 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/1.895, allocations: 33.64 kB / 0.6493 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/1.895, allocations: 233.2 kB / 0.6496 GB, free: 14.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/1.895, allocations: 405.8 kB / 0.6499 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.895, allocations: 134 kB / 0.6501 GB, free: 13.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.895, allocations: 374.7 kB / 0.6504 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/1.896, allocations: 277.6 kB / 0.6507 GB, free: 13.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/1.897, allocations: 389.2 kB / 0.6511 GB, free: 12.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/1.898, allocations: 0.7147 MB / 0.6518 GB, free: 12.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.898, allocations: 11.94 kB / 0.6518 GB, free: 12.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004404/1.902, allocations: 1.279 MB / 0.653 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.902, allocations: 4 kB / 0.653 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.902, allocations: 4 kB / 0.653 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/1.906, allocations: 1.381 MB / 0.6544 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/1.906, allocations: 23.98 kB / 0.6544 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/1.908, allocations: 1.385 MB / 0.6558 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/1.909, allocations: 94.94 kB / 0.6558 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/1.909, allocations: 20 kB / 0.6559 GB, free: 7.938 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.000222/1.909, allocations: 179.8 kB / 0.656 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.909, allocations: 55.25 kB / 0.6561 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/1.913, allocations: 3.951 MB / 0.6599 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002757/1.916, allocations: 1.298 MB / 0.6612 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.916, allocations: 0 / 0.6612 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.916, allocations: 11.91 kB / 0.6612 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006835/1.923, allocations: 2.926 MB / 0.6641 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.923, allocations: 0 / 0.6641 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/1.923, allocations: 95.84 kB / 0.6642 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003586/1.927, allocations: 1.441 MB / 0.6656 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/1.927, allocations: 16 kB / 0.6656 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/1.929, allocations: 1.484 MB / 0.667 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.929, allocations: 0 / 0.667 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/1.934, allocations: 1.51 MB / 0.6685 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/1.934, allocations: 159.9 kB / 0.6687 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.934, allocations: 31.72 kB / 0.6687 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/1.935, allocations: 35.89 kB / 0.6687 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.935, allocations: 52.92 kB / 0.6688 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/1.935, allocations: 31.92 kB / 0.6688 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004109/1.935, allocations: 383.1 kB / 0.6692 GB, free: 10 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.935, allocations: 4 kB / 0.6692 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002448/1.938, allocations: 1.046 MB / 0.6702 GB, free: 8.949 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.008841/1.946, allocations: 3.148 MB / 0.6733 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002007/1.948, allocations: 1.143 MB / 0.6744 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.948, allocations: 0 / 0.6744 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.949, allocations: 0.5155 MB / 0.6749 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/1.951, allocations: 426.7 kB / 0.6753 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.963, allocations: 6.92 MB / 0.6821 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/1.963, allocations: 0.9986 MB / 0.683 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003056/1.964, allocations: 68.81 kB / 0.6831 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/1.964, allocations: 303.3 kB / 0.6834 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/1.964, allocations: 4 kB / 0.6834 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2194/2.183, allocations: 57.39 MB / 0.7395 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/2.184, allocations: 249.6 kB / 0.7397 GB, free: 200.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.219/6.403, allocations: 0 / 0.7397 GB, free: 200.1 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1)