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.4902/0.4902, allocations: 111.6 MB / 131.2 MB, free: 4.617 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 2.645e-06/2.645e-06, allocations: 0 / 176.1 MB, free: 9.25 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/3.019e-05, allocations: 2.312 kB / 176.1 MB, free: 9.246 MB / 170.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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.079/1.079, allocations: 256.9 MB / 433.1 MB, free: 72 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0284/1.108, allocations: 33.3 MB / 466.4 MB, free: 14.65 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/1.108, allocations: 8 kB / 466.4 MB, free: 14.64 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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:20:3-21:80: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:22:3-23:78: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.0003175/1.108, allocations: 107.3 kB / 466.5 MB, free: 14.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/1.108, allocations: 119.1 kB / 466.6 MB, free: 14.42 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.01826/1.127, allocations: 9.869 MB / 476.5 MB, free: 4.504 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004318/1.127, allocations: 358.8 kB / 476.8 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/1.127, allocations: 108.8 kB / 476.9 MB, free: 4.043 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/1.127, allocations: 223.3 kB / 477.1 MB, free: 3.824 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/1.128, allocations: 79.8 kB / 477.2 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/1.128, allocations: 27.94 kB / 477.2 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2213/1.349, allocations: 16.85 MB / 494.1 MB, free: 8.434 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/1.349, allocations: 49.09 kB / 494.1 MB, free: 8.434 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/1.349, allocations: 88.69 kB / 494.2 MB, free: 8.434 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01875/1.368, allocations: 10.81 MB / 0.4932 GB, free: 4.648 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.368, allocations: 0 / 0.4932 GB, free: 4.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.368, allocations: 1.125 kB / 0.4932 GB, free: 4.648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/1.368, allocations: 0 / 0.4932 GB, free: 4.648 MB / 426.7 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.003346/1.371, allocations: 1.525 MB / 0.4947 GB, free: 3.547 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.371, allocations: 13.58 kB / 0.4947 GB, free: 3.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.276e-05/1.371, allocations: 47.95 kB / 0.4947 GB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/1.372, allocations: 183.6 kB / 0.4949 GB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/1.372, allocations: 16.41 kB / 0.4949 GB, free: 3.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/1.372, allocations: 18.09 kB / 0.4949 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/1.372, allocations: 311.8 kB / 0.4952 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.372, allocations: 1.5 kB / 0.4952 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/1.372, allocations: 11.53 kB / 0.4952 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/1.372, allocations: 17.45 kB / 0.4953 GB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/1.372, allocations: 96.83 kB / 0.4954 GB, free: 3.043 MB / 426.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.01721/1.389, allocations: 11.26 MB / 0.5064 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/1.39, allocations: 88.66 kB / 0.5064 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/1.39, allocations: 42.95 kB / 0.5065 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0738/1.463, allocations: 43.78 MB / 0.5492 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/1.464, allocations: 33.39 kB / 0.5493 GB, free: 15.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.575e-06/1.464, allocations: 0 / 0.5493 GB, free: 15.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.00062/1.464, allocations: 244 kB / 0.5495 GB, free: 15.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/1.464, allocations: 85.11 kB / 0.5496 GB, free: 15.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/1.464, allocations: 225.8 kB / 0.5498 GB, free: 15.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.464, allocations: 33.7 kB / 0.5498 GB, free: 15.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/1.464, allocations: 207.3 kB / 0.55 GB, free: 15.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/1.465, allocations: 121.2 kB / 0.5501 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/1.465, allocations: 59.36 kB / 0.5502 GB, free: 14.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/1.465, allocations: 0.5039 MB / 0.5507 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/1.465, allocations: 35.98 kB / 0.5507 GB, free: 14.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/1.465, allocations: 135.5 kB / 0.5509 GB, free: 14.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/1.465, allocations: 177.1 kB / 0.551 GB, free: 13.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.465, allocations: 0 / 0.551 GB, free: 13.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002869/1.465, allocations: 235.8 kB / 0.5512 GB, free: 13.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.465, allocations: 5.562 kB / 0.5513 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.465, allocations: 160 / 0.5513 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004687/1.466, allocations: 97.27 kB / 0.5513 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/1.466, allocations: 12 kB / 0.5514 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004425/1.466, allocations: 0.8582 MB / 0.5522 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/1.466, allocations: 23.88 kB / 0.5522 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/1.466, allocations: 12.64 kB / 0.5522 GB, free: 12.67 MB / 490.7 MB 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 9.925e-05/1.467, allocations: 172 kB / 0.5524 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/1.467, allocations: 19.86 kB / 0.5524 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/1.467, allocations: 0.6323 MB / 0.553 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002494/1.467, allocations: 178.5 kB / 0.5532 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.467, allocations: 0 / 0.5532 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.467, allocations: 2.062 kB / 0.5532 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/1.468, allocations: 0.6232 MB / 0.5538 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.468, allocations: 0.625 kB / 0.5538 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/1.468, allocations: 20 kB / 0.5538 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/1.468, allocations: 85.08 kB / 0.5539 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.468, allocations: 7.938 kB / 0.5539 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003516/1.469, allocations: 0.8548 MB / 0.5548 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.469, allocations: 0.8594 kB / 0.5548 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/1.469, allocations: 354 kB / 0.5551 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/1.469, allocations: 31.86 kB / 0.5551 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/1.469, allocations: 3.953 kB / 0.5551 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/1.469, allocations: 8.625 kB / 0.5551 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/1.469, allocations: 11.55 kB / 0.5551 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/1.469, allocations: 7.984 kB / 0.5552 GB, free: 9.488 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001352/1.469, allocations: 221.1 kB / 0.5554 GB, free: 9.273 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.469, allocations: 0 / 0.5554 GB, free: 9.273 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002773/1.472, allocations: 1.243 MB / 0.5566 GB, free: 8.027 MB / 490.7 MB 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.004122/1.476, allocations: 1.948 MB / 0.5585 GB, free: 6.316 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004761/1.477, allocations: 199 kB / 0.5587 GB, free: 6.117 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.477, allocations: 0 / 0.5587 GB, free: 6.117 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.477, allocations: 84.34 kB / 0.5588 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/1.477, allocations: 122 kB / 0.5589 GB, free: 5.926 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/1.478, allocations: 495.8 kB / 0.5593 GB, free: 5.418 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.598e-05/1.478, allocations: 97.48 kB / 0.5594 GB, free: 5.309 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.749e-05/1.478, allocations: 19.8 kB / 0.5595 GB, free: 5.293 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/1.478, allocations: 24.5 kB / 0.5595 GB, free: 5.266 MB / 490.7 MB Notification: Performance of SimCode: time 1.432e-06/1.478, allocations: 0 / 0.5595 GB, free: 5.266 MB / 490.7 MB Notification: Performance of Templates: time 0.05284/1.531, allocations: 53.6 MB / 0.6118 GB, free: 15.96 MB / 0.5417 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.229754840023816]