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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5902/0.5902, allocations: 120.4 MB / 139.5 MB, free: 12.98 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 216.7 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.572e-05, allocations: 3.812 kB / 216.7 MB, free: 8.609 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 1.004/1.004, allocations: 255.6 MB / 472.3 MB, free: 7.555 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01913/1.023, allocations: 20.65 MB / 493 MB, free: 2.82 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/1.023, allocations: 4 kB / 493 MB, free: 2.816 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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.0003885/1.024, allocations: 174.7 kB / 493.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/1.024, allocations: 337.6 kB / 493.5 MB, free: 2.312 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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.2405/1.265, allocations: 7.268 MB / 0.489 GB, free: 2.016 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009984/1.266, allocations: 1.02 MB / 0.49 GB, free: 1.738 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/1.266, allocations: 236.4 kB / 0.4903 GB, free: 1.723 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005553/1.266, allocations: 0.5636 MB / 0.4908 GB, free: 1.676 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/1.267, allocations: 245.2 kB / 0.491 GB, free: 1.648 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/1.267, allocations: 50.81 kB / 0.4911 GB, free: 1.648 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.021/1.288, allocations: 14.47 MB / 0.5052 GB, free: 12.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/1.288, allocations: 132.5 kB / 0.5053 GB, free: 12.01 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004788/1.288, allocations: 243 kB / 0.5056 GB, free: 11.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/1.301, allocations: 9.015 MB / 0.5144 GB, free: 4.012 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.301, allocations: 1.781 kB / 0.5144 GB, free: 4.012 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.973e-06/1.301, allocations: 0 / 0.5144 GB, free: 4.012 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/1.301, allocations: 4.562 kB / 0.5144 GB, free: 4.008 MB / 458.7 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.002926/1.304, allocations: 1.501 MB / 0.5159 GB, free: 2.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.304, allocations: 13.38 kB / 0.5159 GB, free: 2.469 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.52e-05/1.304, allocations: 115.4 kB / 0.516 GB, free: 2.348 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/1.304, allocations: 72.47 kB / 0.516 GB, free: 2.277 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/1.304, allocations: 276.9 kB / 0.5163 GB, free: 2.004 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/1.304, allocations: 208.6 kB / 0.5165 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/1.304, allocations: 45.09 kB / 0.5166 GB, free: 1.723 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/1.305, allocations: 0.7984 MB / 0.5173 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.305, allocations: 4.281 kB / 0.5173 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/1.305, allocations: 20.75 kB / 0.5174 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/1.305, allocations: 39.95 kB / 0.5174 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006683/1.306, allocations: 0.5869 MB / 0.518 GB, free: 260 kB / 458.7 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.03445/1.341, allocations: 21.91 MB / 0.5394 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/1.341, allocations: 471.5 kB / 0.5398 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/1.342, allocations: 278.7 kB / 0.5401 GB, free: 9.785 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03447/1.376, allocations: 21.17 MB / 0.5607 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.376, allocations: 46.36 kB / 0.5608 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 2.345e-06/1.376, allocations: 0.75 kB / 0.5608 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.008498/1.385, allocations: 3.179 MB / 0.5639 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.385, allocations: 55.41 kB / 0.564 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/1.385, allocations: 344.4 kB / 0.5643 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/1.385, allocations: 33.7 kB / 0.5643 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/1.385, allocations: 228.7 kB / 0.5645 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/1.385, allocations: 421.8 kB / 0.5649 GB, free: 316 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/1.386, allocations: 130.1 kB / 0.5651 GB, free: 180 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.386, allocations: 367.3 kB / 0.5654 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/1.386, allocations: 289.7 kB / 0.5657 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/1.386, allocations: 392.5 kB / 0.5661 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/1.387, allocations: 0.731 MB / 0.5668 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.387, allocations: 0 / 0.5668 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002286/1.389, allocations: 1.231 MB / 0.568 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.389, allocations: 15.94 kB / 0.568 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.389, allocations: 6.75 kB / 0.568 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/1.391, allocations: 1.379 MB / 0.5693 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/1.392, allocations: 19.28 kB / 0.5694 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/1.393, allocations: 1.386 MB / 0.5707 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/1.393, allocations: 98.55 kB / 0.5708 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/1.393, allocations: 23.98 kB / 0.5708 GB, free: 10.2 MB / 0.5105 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.0001711/1.393, allocations: 185.4 kB / 0.571 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/1.393, allocations: 59.58 kB / 0.5711 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/1.396, allocations: 3.882 MB / 0.5749 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001482/1.398, allocations: 1.258 MB / 0.5761 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.398, allocations: 0.875 kB / 0.5761 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.398, allocations: 3.984 kB / 0.5761 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/1.401, allocations: 2.705 MB / 0.5787 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.401, allocations: 0 / 0.5787 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/1.401, allocations: 98.8 kB / 0.5788 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/1.403, allocations: 0.8589 MB / 0.5797 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/1.403, allocations: 20.55 kB / 0.5797 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/1.404, allocations: 1.496 MB / 0.5811 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.404, allocations: 4.562 kB / 0.5811 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/1.407, allocations: 1.475 MB / 0.5826 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/1.407, allocations: 83.22 kB / 0.5827 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/1.407, allocations: 36.34 kB / 0.5827 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/1.407, allocations: 35.91 kB / 0.5827 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/1.407, allocations: 50.94 kB / 0.5828 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/1.407, allocations: 30.8 kB / 0.5828 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002855/1.407, allocations: 387.1 kB / 0.5832 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.407, allocations: 0 / 0.5832 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002352/1.41, allocations: 1.068 MB / 0.5842 GB, free: 12.31 MB / 0.5261 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.005556/1.415, allocations: 3.26 MB / 0.5874 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001684/1.417, allocations: 1.082 MB / 0.5885 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.417, allocations: 4.062 kB / 0.5885 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/1.417, allocations: 479 kB / 0.5889 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.419, allocations: 432.9 kB / 0.5893 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007804/1.426, allocations: 6.58 MB / 0.5958 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/1.427, allocations: 404.9 kB / 0.5962 GB, free: 76 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002833/1.427, allocations: 70.97 kB / 0.5962 GB, free: 8 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/1.427, allocations: 300.5 kB / 0.5965 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of SimCode: time 2.134e-06/1.427, allocations: 4 kB / 0.5965 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06982/1.497, allocations: 58.95 MB / 0.6541 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.67, allocations: 4.062 kB / 0.6541 GB, free: 5.445 MB / 0.5886 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.504406549967825] Failed to read output from testmodel.py, exit status != 0: 12.050770925357938 12.170406861 10.866858137 Calling exit ...