Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.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_VolumeA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8811/0.8811, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 15.62 kB / 237.8 MB, free: 1.941 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05828/0.05867, allocations: 31.35 MB / 269.1 MB, free: 7.18 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_VolumeA): time 1.773/1.831, allocations: 296.4 MB / 0.5522 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6206/2.452, allocations: 189.7 MB / 0.7375 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000892/2.453, allocations: 16.81 kB / 0.7375 GB, free: 1.812 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75: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/Sink.mo:39:3-40: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/Volumes/VolumeA.mo:104:3-105:67:writable] Warning: Connector Ce1 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/Volumes/VolumeA.mo:106:3-108:57:writable] Warning: Connector Ce2 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/Volumes/VolumeA.mo:109:3-110:73:writable] Warning: Connector Cs1 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/Volumes/VolumeA.mo:111:3-112:75:writable] Warning: Connector Cs2 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). Notification: Performance of NFTyping.typeComponents: time 0.000368/2.454, allocations: 90.88 kB / 0.7376 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009051/2.454, allocations: 247.3 kB / 0.7378 GB, free: 1.812 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.04064/2.495, allocations: 12.32 MB / 0.7499 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001564/2.497, allocations: 0.9896 MB / 0.7508 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005841/2.497, allocations: 488.7 kB / 0.7513 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004647/2.498, allocations: 393.8 kB / 0.7517 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/2.498, allocations: 429.6 kB / 0.7521 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/2.498, allocations: 91.75 kB / 0.7522 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04453/2.543, allocations: 20.19 MB / 0.7719 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/2.543, allocations: 197.4 kB / 0.7721 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000717/2.544, allocations: 451.6 kB / 0.7725 GB, free: 172 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03531/2.579, allocations: 10.55 MB / 0.7828 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/2.579, allocations: 1.844 kB / 0.7828 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.554e-06/2.579, allocations: 0 / 0.7828 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.256e-05/2.579, allocations: 0 / 0.7828 GB, free: 12.8 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.006774/2.586, allocations: 2.362 MB / 0.7851 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/2.586, allocations: 11.91 kB / 0.7851 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/2.586, allocations: 101.9 kB / 0.7852 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/2.587, allocations: 499.4 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/2.587, allocations: 120.4 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/2.587, allocations: 81.53 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/2.589, allocations: 0.8794 MB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/2.589, allocations: 1.266 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/2.589, allocations: 38.91 kB / 0.7868 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/2.589, allocations: 20.34 kB / 0.7868 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/2.59, allocations: 0.6776 MB / 0.7875 GB, free: 10.46 MB / 0.6075 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.01238/2.603, allocations: 8.341 MB / 0.7956 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/2.603, allocations: 221.8 kB / 0.7958 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/2.603, allocations: 86.12 kB / 0.7959 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3978/3.001, allocations: 185.9 MB / 0.9775 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/3.001, allocations: 30.56 kB / 0.9775 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 2.825e-06/3.001, allocations: 0 / 0.9775 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.00268/3.004, allocations: 0.7486 MB / 0.9783 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/3.004, allocations: 102.8 kB / 0.9783 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/3.005, allocations: 0.5851 MB / 0.9789 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/3.005, allocations: 29.7 kB / 0.9789 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/3.005, allocations: 489.5 kB / 0.9794 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/3.005, allocations: 83.31 kB / 0.9795 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/3.006, allocations: 162.5 kB / 0.9796 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001569/3.006, allocations: 366.7 kB / 0.98 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/3.006, allocations: 141.1 kB / 0.9801 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/3.007, allocations: 0.5033 MB / 0.9806 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/3.008, allocations: 0.7707 MB / 0.9814 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/3.008, allocations: 4 kB / 0.9814 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001887/3.009, allocations: 0.9085 MB / 0.9823 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/3.01, allocations: 63.41 kB / 0.9823 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/3.01, allocations: 16 kB / 0.9823 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007311/3.01, allocations: 205.2 kB / 0.9825 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/3.011, allocations: 124.3 kB / 0.9827 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008225/3.012, allocations: 0.7513 MB / 0.9834 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/3.012, allocations: 111.2 kB / 0.9835 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/3.012, allocations: 47.98 kB / 0.9835 GB, free: 0.6602 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 22 (volumeA.Cs1.ftype,volumeA.Cs2.ftype,volumeA.Cs2.diff_on_2,volumeA.Ce2.ftype,volumeA.Ce2.diff_on_1,sourcePQ1.C.ftype,volumeA.fluids[1],switchValve.C2.diff_on_1,volumeA.Cs1.diff_on_2,sink1.fluid,switchValve.fluid,switchValve1.fluid,constante1.yL.signal,constante.yL.signal,volumeA.fluid1,sourcePQ1.fluid1,volumeA.Cs1.diff_on_1,switchValve1.C2.diff_on_1,volumeA.Cs2.diff_on_1,volumeA.Ce2.diff_on_2,volumeA.Ce1.diff_on_2,sourcePQ1.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * 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 {(4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004061/3.013, allocations: 283.9 kB / 0.9838 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/3.013, allocations: 59.62 kB / 0.9839 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/3.014, allocations: 0.4948 MB / 0.9844 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/3.014, allocations: 7.984 kB / 0.9844 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/3.014, allocations: 0 / 0.9844 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/3.014, allocations: 164.6 kB / 0.9845 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/3.014, allocations: 3.938 kB / 0.9845 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/3.015, allocations: 13.08 kB / 0.9845 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/3.015, allocations: 36.03 kB / 0.9846 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009367/3.016, allocations: 0.5247 MB / 0.9851 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007152/3.016, allocations: 0.548 MB / 0.9856 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001432/3.016, allocations: 59.97 kB / 0.9857 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004703/3.017, allocations: 374.8 kB / 0.986 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of Backend: time 7.01e-07/3.017, allocations: 0 / 0.986 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01793/3.035, allocations: 3.904 MB / 0.9898 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of SimCode: time 0.002758/3.038, allocations: 1.752 MB / 0.9916 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of Templates: time 0.3374/3.375, allocations: 75.22 MB / 1.065 GB, free: 438 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe 2>&1)