Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.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.5479/0.5479, allocations: 120.4 MB / 140.2 MB, free: 12.99 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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 218 MB, free: 8.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.207e-05, allocations: 2.281 kB / 218 MB, free: 8.625 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.TestControlValve): time 0.9624/0.9624, allocations: 254.3 MB / 472.3 MB, free: 8.785 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2273/1.19, allocations: 30.81 MB / 0.4913 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/1.19, allocations: 2.781 kB / 0.4913 GB, free: 0.9102 MB / 442.7 MB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 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/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 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.000393/1.19, allocations: 162.5 kB / 0.4915 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/1.19, allocations: 177.4 kB / 0.4917 GB, free: 0.8945 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der 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.01733/1.208, allocations: 9.925 MB / 0.5014 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004367/1.208, allocations: 411.1 kB / 0.5017 GB, free: 14.74 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/1.208, allocations: 113.7 kB / 0.5019 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/1.209, allocations: 244.8 kB / 0.5021 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/1.209, allocations: 141.8 kB / 0.5022 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/1.209, allocations: 18.19 kB / 0.5022 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01989/1.229, allocations: 16.86 MB / 0.5187 GB, free: 2.461 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/1.229, allocations: 76.64 kB / 0.5188 GB, free: 2.391 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/1.229, allocations: 101.3 kB / 0.5189 GB, free: 2.297 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01298/1.242, allocations: 10.92 MB / 0.5295 GB, free: 7.875 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.242, allocations: 4.844 kB / 0.5295 GB, free: 7.871 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.453e-06/1.242, allocations: 0 / 0.5295 GB, free: 7.871 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/1.242, allocations: 0 / 0.5295 GB, free: 7.871 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.003115/1.245, allocations: 1.507 MB / 0.531 GB, free: 6.332 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/1.245, allocations: 8.781 kB / 0.531 GB, free: 6.324 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/1.245, allocations: 39.72 kB / 0.5311 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/1.245, allocations: 237.9 kB / 0.5313 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/1.245, allocations: 16.5 kB / 0.5313 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/1.245, allocations: 16.59 kB / 0.5313 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/1.246, allocations: 324.7 kB / 0.5316 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.246, allocations: 0 / 0.5316 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/1.246, allocations: 12 kB / 0.5316 GB, free: 5.652 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/1.246, allocations: 10.7 kB / 0.5317 GB, free: 5.645 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/1.246, allocations: 221.9 kB / 0.5319 GB, free: 5.426 MB / 474.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.01761/1.264, allocations: 10.86 MB / 0.5425 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/1.264, allocations: 122.5 kB / 0.5426 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.777e-05/1.264, allocations: 93.95 kB / 0.5427 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07095/1.335, allocations: 43.59 MB / 0.5852 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.335, allocations: 38.5 kB / 0.5853 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.365e-06/1.335, allocations: 0 / 0.5853 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.0008404/1.336, allocations: 415.5 kB / 0.5857 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/1.336, allocations: 56.16 kB / 0.5857 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/1.336, allocations: 312.1 kB / 0.586 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/1.336, allocations: 29.7 kB / 0.5861 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/1.336, allocations: 195.3 kB / 0.5862 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/1.336, allocations: 113.7 kB / 0.5863 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/1.336, allocations: 45.7 kB / 0.5864 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/1.336, allocations: 346.7 kB / 0.5867 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/1.336, allocations: 95.97 kB / 0.5868 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/1.336, allocations: 136.9 kB / 0.5869 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/1.337, allocations: 260.5 kB / 0.5872 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.337, allocations: 1.062 kB / 0.5872 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003117/1.337, allocations: 342.3 kB / 0.5875 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.337, allocations: 8 kB / 0.5875 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.337, allocations: 0 / 0.5875 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004741/1.337, allocations: 136.8 kB / 0.5877 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.825e-05/1.338, allocations: 8 kB / 0.5877 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003518/1.338, allocations: 0.625 MB / 0.5883 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/1.338, allocations: 23.78 kB / 0.5883 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/1.338, allocations: 4 kB / 0.5883 GB, free: 11.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (ControlValve.C2.b,ControlValve.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001166/1.338, allocations: 159.5 kB / 0.5885 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/1.338, allocations: 31.75 kB / 0.5885 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/1.339, allocations: 0.6416 MB / 0.5891 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002333/1.339, allocations: 255.1 kB / 0.5894 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.339, allocations: 0 / 0.5894 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.339, allocations: 0.8438 kB / 0.5894 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/1.339, allocations: 0.7187 MB / 0.5901 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.339, allocations: 0 / 0.5901 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/1.34, allocations: 23.92 kB / 0.5901 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/1.34, allocations: 112.7 kB / 0.5902 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/1.34, allocations: 4 kB / 0.5902 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003013/1.34, allocations: 0.6382 MB / 0.5908 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.34, allocations: 1.188 kB / 0.5908 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/1.34, allocations: 380 kB / 0.5912 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/1.34, allocations: 41.02 kB / 0.5912 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/1.34, allocations: 15.94 kB / 0.5912 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/1.34, allocations: 0 / 0.5912 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/1.34, allocations: 7.984 kB / 0.5912 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/1.341, allocations: 11.98 kB / 0.5912 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000203/1.341, allocations: 299.2 kB / 0.5915 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/1.341, allocations: 0 / 0.5915 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002187/1.343, allocations: 1.233 MB / 0.5927 GB, free: 6.867 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 (13): * Single equations (assignments): 12 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003164/1.346, allocations: 1.93 MB / 0.5946 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004048/1.346, allocations: 263.5 kB / 0.5949 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.346, allocations: 256 / 0.5949 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/1.347, allocations: 111.8 kB / 0.595 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/1.347, allocations: 116.3 kB / 0.5951 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/1.348, allocations: 0.6764 MB / 0.5958 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/1.348, allocations: 200.8 kB / 0.5959 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/1.348, allocations: 20.5 kB / 0.596 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of SimCode: time 6.92e-07/1.348, allocations: 0 / 0.596 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of Templates: time 0.02274/1.371, allocations: 26.28 MB / 0.6216 GB, free: 9.598 MB / 0.5573 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.255861752666533] Failed to read output from testmodel.py, exit status != 0: 1.5981360198929906 1.524765987 0.28106237 Calling exit ...