Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8303/0.8303, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 17.25 kB / 237.8 MB, free: 1.754 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0628/0.06318, allocations: 31.35 MB / 269.1 MB, free: 7.023 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe): time 1.636/1.699, allocations: 298.4 MB / 0.5542 GB, free: 9.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5489/2.248, allocations: 196.5 MB / 0.7461 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/2.249, allocations: 29.75 kB / 0.7461 GB, free: 1.648 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:150:3-151:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:152:3-153:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SwitchValve.mo:36:3-37:55:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SwitchValve.mo:38:3-40:35:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:150:3-151:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:152:3-153:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005336/2.25, allocations: 248.3 kB / 0.7464 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/2.251, allocations: 0.8562 MB / 0.7472 GB, free: 1.602 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.03561/2.286, allocations: 14.09 MB / 0.761 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008083/2.294, allocations: 10.9 MB / 0.7716 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005189/2.3, allocations: 3.965 MB / 0.7755 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004479/2.304, allocations: 3.245 MB / 0.7787 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00825/2.312, allocations: 4.469 MB / 0.783 GB, free: 0 / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002397/2.315, allocations: 0.7775 MB / 0.7838 GB, free: 0 / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04514/2.36, allocations: 23.46 MB / 0.8067 GB, free: 328 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004614/2.365, allocations: 3.005 MB / 0.8096 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007431/2.372, allocations: 3.457 MB / 0.813 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.04214/2.414, allocations: 19.41 MB / 0.832 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/2.414, allocations: 5.062 kB / 0.832 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/2.414, allocations: 0 / 0.832 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002553/2.415, allocations: 0 / 0.832 GB, free: 7.805 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1372 * Number of variables: 1372 Notification: Performance of Generate backend data structure: time 0.03/2.445, allocations: 8.245 MB / 0.84 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/2.445, allocations: 11.89 kB / 0.84 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/2.447, allocations: 0.5448 MB / 0.8406 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006261/2.454, allocations: 2.584 MB / 0.8431 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/2.455, allocations: 0.9945 MB / 0.8441 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001789/2.456, allocations: 0.5064 MB / 0.8446 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/2.477, allocations: 9.357 MB / 0.8537 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/2.477, allocations: 2.625 kB / 0.8537 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008604/2.478, allocations: 215.9 kB / 0.8539 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.073e-05/2.478, allocations: 132 kB / 0.854 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02943/2.508, allocations: 22.97 MB / 0.8765 GB, free: 10.11 MB / 0.6856 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.07535/2.583, allocations: 43.63 MB / 0.9191 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03268/2.616, allocations: 11.84 MB / 0.9306 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/2.626, allocations: 5.29 MB / 0.9358 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7303/3.357, allocations: 290.9 MB / 1.22 GB, free: 238.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/3.357, allocations: 114.8 kB / 1.22 GB, free: 238.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=807): time 9.898e-06/3.357, allocations: 0 / 1.22 GB, free: 238.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=807): time 0.0355/3.392, allocations: 20 MB / 1.239 GB, free: 221.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/3.392, allocations: 210.9 kB / 1.24 GB, free: 220.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/3.394, allocations: 1.861 MB / 1.241 GB, free: 219.1 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.001409/3.396, allocations: 153.7 kB / 1.242 GB, free: 218.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/3.396, allocations: 1.11 MB / 1.243 GB, free: 217.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002517/3.399, allocations: 2.714 MB / 1.245 GB, free: 215.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002519/3.402, allocations: 1.363 MB / 1.247 GB, free: 213.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.926e-05/3.402, allocations: 301.1 kB / 1.247 GB, free: 213.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006599/3.408, allocations: 4.226 MB / 1.251 GB, free: 209.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00776/3.416, allocations: 5.087 MB / 1.256 GB, free: 204 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/3.431, allocations: 10.13 MB / 1.266 GB, free: 193.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/3.431, allocations: 4 kB / 1.266 GB, free: 193.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.0257/3.457, allocations: 14.76 MB / 1.28 GB, free: 178.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/3.457, allocations: 67.41 kB / 1.28 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/3.457, allocations: 16 kB / 1.28 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09763/3.555, allocations: 26.81 MB / 1.307 GB, free: 152.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007752/3.562, allocations: 1.135 MB / 1.308 GB, free: 151.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03445/3.597, allocations: 43.63 MB / 1.35 GB, free: 104.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006473/3.603, allocations: 0.7344 MB / 1.351 GB, free: 104 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/3.605, allocations: 357 kB / 1.351 GB, free: 103.7 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 17 (sourceP1.C.ftype,dynamicOnePhaseFlowPipe1.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.C.ftype,switchValve.C2.diff_on_1,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,switchValve.fluid,nONL.yL.signal,echelon.yL.signal,sourceP.fluid1,dynamicOnePhaseFlowPipe1.C1.diff_on_2,dynamicOnePhaseFlowPipe1.C2.diff_on_1,dynamicOnePhaseFlowPipe.C1.diff_on_2,sourceP.C.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (351): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(32,214), (33,218)} Notification: Performance of prepare postOptimizeDAE: time 0.00308/3.608, allocations: 1.268 MB / 1.353 GB, free: 102.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/3.609, allocations: 435 kB / 1.353 GB, free: 102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03043/3.64, allocations: 16.63 MB / 1.369 GB, free: 85.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001544/3.64, allocations: 39.84 kB / 1.369 GB, free: 85.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/3.64, allocations: 0 / 1.369 GB, free: 85.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00392/3.644, allocations: 1.591 MB / 1.371 GB, free: 83.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/3.645, allocations: 131.9 kB / 1.371 GB, free: 83.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004714/3.65, allocations: 299.7 kB / 1.371 GB, free: 83.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001528/3.651, allocations: 0.521 MB / 1.372 GB, free: 82.75 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05132/3.703, allocations: 18.56 MB / 1.39 GB, free: 64.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02603/3.729, allocations: 15.76 MB / 1.405 GB, free: 48.41 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007173/3.736, allocations: 4.696 MB / 1.41 GB, free: 43.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001351/3.737, allocations: 1.276 MB / 1.411 GB, free: 42.4 MB / 0.8262 GB Notification: Performance of Backend: time 3.01e-07/3.737, allocations: 0 / 1.411 GB, free: 42.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.03049/3.768, allocations: 13.97 MB / 1.425 GB, free: 29.09 MB / 0.8262 GB Notification: Performance of SimCode: time 0.01492/3.783, allocations: 13.62 MB / 1.438 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.411/4.194, allocations: 216.2 MB / 1.649 GB, free: 257.4 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe 2>&1)