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.8261/0.8261, allocations: 153.9 MB / 172.7 MB, free: 4.973 MB / 142.1 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 0.0005069/0.0005069, allocations: 7.984 kB / 249.8 MB, free: 4.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1909, allocations: 33.36 MB / 283.2 MB, free: 1.848 MB / 222.1 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.81/2.001, allocations: 309.1 MB / 0.5784 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02448/2.025, allocations: 23.16 MB / 0.601 GB, free: 5.457 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005782/2.026, allocations: 6.469 kB / 0.601 GB, free: 5.457 MB / 478.1 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.0005012/2.027, allocations: 199.5 kB / 0.6012 GB, free: 5.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005696/2.027, allocations: 321.5 kB / 0.6015 GB, free: 5.137 MB / 478.1 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.01871/2.046, allocations: 7.339 MB / 0.6087 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/2.047, allocations: 0.9814 MB / 0.6097 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/2.047, allocations: 238 kB / 0.6099 GB, free: 1.281 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004531/2.048, allocations: 390.7 kB / 0.6103 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/2.048, allocations: 334.7 kB / 0.6106 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/2.048, allocations: 51.12 kB / 0.6106 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02892/2.077, allocations: 15.4 MB / 0.6257 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/2.077, allocations: 131.5 kB / 0.6258 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006068/2.078, allocations: 358.2 kB / 0.6261 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01631/2.094, allocations: 6.962 MB / 0.6329 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/2.094, allocations: 4.562 kB / 0.6329 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.522e-06/2.094, allocations: 0.6875 kB / 0.6329 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.237e-05/2.094, allocations: 0 / 0.6329 GB, free: 12.1 MB / 0.4981 GB 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.004585/2.099, allocations: 1.515 MB / 0.6344 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/2.099, allocations: 8.031 kB / 0.6344 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/2.099, allocations: 123.4 kB / 0.6346 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/2.099, allocations: 74.5 kB / 0.6346 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/2.1, allocations: 288.5 kB / 0.6349 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/2.1, allocations: 203.2 kB / 0.6351 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/2.1, allocations: 49.59 kB / 0.6351 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/2.101, allocations: 0.7958 MB / 0.6359 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/2.101, allocations: 0 / 0.6359 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/2.101, allocations: 21.84 kB / 0.6359 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/2.101, allocations: 40.64 kB / 0.636 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/2.102, allocations: 0.5862 MB / 0.6366 GB, free: 8.281 MB / 0.4981 GB 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.07071/2.173, allocations: 22.89 MB / 0.6589 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/2.174, allocations: 470.3 kB / 0.6594 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006156/2.175, allocations: 274.8 kB / 0.6596 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0721/2.247, allocations: 21.1 MB / 0.6802 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/2.247, allocations: 42.55 kB / 0.6803 GB, free: 11.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=126): time 2.905e-06/2.247, allocations: 0 / 0.6803 GB, free: 11.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=126): time 0.01731/2.265, allocations: 3.184 MB / 0.6834 GB, free: 7.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/2.265, allocations: 55.41 kB / 0.6834 GB, free: 7.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/2.265, allocations: 336.4 kB / 0.6837 GB, free: 7.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/2.265, allocations: 33.7 kB / 0.6838 GB, free: 7.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/2.265, allocations: 225.7 kB / 0.684 GB, free: 7.301 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/2.266, allocations: 428.1 kB / 0.6844 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/2.266, allocations: 138 kB / 0.6845 GB, free: 6.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000176/2.266, allocations: 375.7 kB / 0.6849 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005936/2.267, allocations: 281.6 kB / 0.6852 GB, free: 6.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/2.267, allocations: 397.1 kB / 0.6855 GB, free: 5.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/2.269, allocations: 0.7287 MB / 0.6863 GB, free: 4.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/2.269, allocations: 7.938 kB / 0.6863 GB, free: 4.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004361/2.273, allocations: 1.24 MB / 0.6875 GB, free: 3.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/2.273, allocations: 5.406 kB / 0.6875 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/2.273, allocations: 4 kB / 0.6875 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00376/2.277, allocations: 1.381 MB / 0.6888 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/2.277, allocations: 25.8 kB / 0.6889 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/2.279, allocations: 1.382 MB / 0.6902 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/2.28, allocations: 103.2 kB / 0.6903 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/2.28, allocations: 20 kB / 0.6903 GB, free: 0.7188 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.0002698/2.28, allocations: 173.8 kB / 0.6905 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/2.28, allocations: 59.56 kB / 0.6905 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/2.285, allocations: 3.885 MB / 0.6943 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002839/2.287, allocations: 1.26 MB / 0.6956 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/2.287, allocations: 0.6875 kB / 0.6956 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/2.287, allocations: 11.91 kB / 0.6956 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007001/2.294, allocations: 2.81 MB / 0.6983 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/2.294, allocations: 1.031 kB / 0.6983 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/2.295, allocations: 91.91 kB / 0.6984 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/2.297, allocations: 0.8717 MB / 0.6993 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/2.297, allocations: 19.98 kB / 0.6993 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/2.299, allocations: 1.511 MB / 0.7008 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/2.299, allocations: 0 / 0.7008 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/2.304, allocations: 1.476 MB / 0.7022 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/2.304, allocations: 79.22 kB / 0.7023 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/2.304, allocations: 35.77 kB / 0.7023 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/2.305, allocations: 33.16 kB / 0.7023 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/2.305, allocations: 56.89 kB / 0.7024 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/2.305, allocations: 29.67 kB / 0.7024 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004775/2.306, allocations: 383.1 kB / 0.7028 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/2.306, allocations: 4 kB / 0.7028 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002771/2.308, allocations: 1.068 MB / 0.7038 GB, free: 2.637 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.009657/2.318, allocations: 3.123 MB / 0.7069 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002323/2.32, allocations: 1.087 MB / 0.7079 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.32, allocations: 0 / 0.7079 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/2.321, allocations: 475.6 kB / 0.7084 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/2.323, allocations: 433.8 kB / 0.7088 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/2.337, allocations: 6.549 MB / 0.7152 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/2.337, allocations: 0.9962 MB / 0.7162 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003359/2.338, allocations: 68.03 kB / 0.7162 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/2.338, allocations: 299.3 kB / 0.7165 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of SimCode: time 1.423e-06/2.338, allocations: 0 / 0.7165 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/2.457, allocations: 60.76 MB / 0.7759 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/18.63, allocations: 7.109 kB / 0.7759 GB, free: 9.598 MB / 0.6387 GB " [Timeout remaining time 641] (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 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.75198538484983] Failed to read output from testmodel.py, exit status != 0: 19.161789865931496 19.173627418 17.076291114 Calling exit ...