Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.8512/0.8512, allocations: 120.4 MB / 139.5 MB, free: 484 kB / 126.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: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 217.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.151e-05, allocations: 6.219 kB / 217.1 MB, free: 13.79 MB / 206.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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.522/1.522, allocations: 254.2 MB / 471.3 MB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2459/1.767, allocations: 30.75 MB / 0.4903 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/1.768, allocations: 2.75 kB / 0.4903 GB, free: 7.781 MB / 446.1 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/Diaphragm.mo:30:3-32:42: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/Diaphragm.mo:33:3-35:37: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.0003705/1.768, allocations: 105.6 kB / 0.4904 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/1.768, allocations: 120.4 kB / 0.4905 GB, free: 7.613 MB / 446.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. [/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.02849/1.797, allocations: 9.841 MB / 0.5001 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006268/1.797, allocations: 363.6 kB / 0.5005 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/1.798, allocations: 96.77 kB / 0.5006 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/1.798, allocations: 224.3 kB / 0.5008 GB, free: 376 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/1.798, allocations: 83.73 kB / 0.5009 GB, free: 292 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/1.798, allocations: 21.75 kB / 0.5009 GB, free: 272 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03426/1.832, allocations: 16.85 MB / 0.5173 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/1.833, allocations: 51.77 kB / 0.5174 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/1.833, allocations: 91.78 kB / 0.5175 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02455/1.857, allocations: 10.87 MB / 0.5281 GB, free: 4.379 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/1.857, allocations: 4.734 kB / 0.5281 GB, free: 4.375 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/1.857, allocations: 0.5 kB / 0.5281 GB, free: 4.375 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/1.857, allocations: 0.75 kB / 0.5281 GB, free: 4.375 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004375/1.862, allocations: 1.423 MB / 0.5295 GB, free: 2.914 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.862, allocations: 9.812 kB / 0.5295 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/1.862, allocations: 35.8 kB / 0.5295 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/1.862, allocations: 164.8 kB / 0.5297 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/1.862, allocations: 20.44 kB / 0.5297 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/1.862, allocations: 21.97 kB / 0.5297 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/1.863, allocations: 343.2 kB / 0.5301 GB, free: 2.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/1.863, allocations: 7.984 kB / 0.5301 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/1.863, allocations: 4.703 kB / 0.5301 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/1.863, allocations: 12.69 kB / 0.5301 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/1.863, allocations: 186.3 kB / 0.5303 GB, free: 2.066 MB / 478.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.03906/1.902, allocations: 10.87 MB / 0.5409 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/1.903, allocations: 130.5 kB / 0.541 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/1.903, allocations: 68.84 kB / 0.5411 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1644/2.067, allocations: 43.61 MB / 0.5836 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/2.067, allocations: 30.56 kB / 0.5837 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.745e-06/2.067, allocations: 0 / 0.5837 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.0009862/2.068, allocations: 344.3 kB / 0.584 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/2.068, allocations: 85.67 kB / 0.5841 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/2.068, allocations: 190.6 kB / 0.5843 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/2.068, allocations: 25.7 kB / 0.5843 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/2.069, allocations: 164.5 kB / 0.5844 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.81e-05/2.069, allocations: 115 kB / 0.5846 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/2.069, allocations: 53.64 kB / 0.5846 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001598/2.069, allocations: 335.8 kB / 0.5849 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/2.069, allocations: 71.98 kB / 0.585 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/2.069, allocations: 160.2 kB / 0.5851 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/2.07, allocations: 233.5 kB / 0.5854 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.07, allocations: 4 kB / 0.5854 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005526/2.07, allocations: 294.1 kB / 0.5857 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/2.07, allocations: 8 kB / 0.5857 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/2.07, allocations: 0 / 0.5857 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/2.071, allocations: 132.9 kB / 0.5858 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/2.071, allocations: 19.98 kB / 0.5858 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006446/2.072, allocations: 0.6091 MB / 0.5864 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/2.072, allocations: 41.02 kB / 0.5864 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/2.072, allocations: 4 kB / 0.5864 GB, free: 8.371 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.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 (15): * Single equations (assignments): 12 * 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.0001718/2.072, allocations: 138.5 kB / 0.5866 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/2.072, allocations: 19.89 kB / 0.5866 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/2.073, allocations: 0.5988 MB / 0.5872 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006406/2.074, allocations: 233.3 kB / 0.5874 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/2.074, allocations: 0.6562 kB / 0.5874 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/2.074, allocations: 0 / 0.5874 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/2.075, allocations: 0.6357 MB / 0.588 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/2.075, allocations: 0 / 0.588 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/2.075, allocations: 16 kB / 0.588 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/2.076, allocations: 108.8 kB / 0.5881 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/2.076, allocations: 4 kB / 0.5882 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005999/2.076, allocations: 0.648 MB / 0.5888 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/2.077, allocations: 8.016 kB / 0.5888 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/2.077, allocations: 324.2 kB / 0.5891 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/2.077, allocations: 40.3 kB / 0.5891 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/2.077, allocations: 8 kB / 0.5891 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/2.077, allocations: 0 / 0.5891 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/2.078, allocations: 14.61 kB / 0.5892 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/2.078, allocations: 4 kB / 0.5892 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002298/2.078, allocations: 213.1 kB / 0.5894 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.078, allocations: 0 / 0.5894 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00341/2.081, allocations: 1.243 MB / 0.5906 GB, free: 3.969 MB / 0.5294 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.006339/2.088, allocations: 1.947 MB / 0.5925 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000723/2.088, allocations: 235.8 kB / 0.5927 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.088, allocations: 3.938 kB / 0.5927 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/2.089, allocations: 92.08 kB / 0.5928 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000795/2.089, allocations: 111.2 kB / 0.5929 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/2.09, allocations: 495.3 kB / 0.5934 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/2.09, allocations: 164.7 kB / 0.5935 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001018/2.091, allocations: 23.38 kB / 0.5936 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/2.091, allocations: 20.5 kB / 0.5936 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/2.091, allocations: 0 / 0.5936 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of Templates: time 0.0654/2.156, allocations: 42.56 MB / 0.6351 GB, free: 6.578 MB / 0.5762 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.424467734992504] Failed to read output from testmodel.py, exit status != 0: 2.540144458413124 2.549756232 0.690057351 Calling exit ...