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.822/0.822, allocations: 150.9 MB / 167.2 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.000352, allocations: 17.66 kB / 237.8 MB, free: 1.914 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05497/0.05533, allocations: 31.35 MB / 269.1 MB, free: 7.148 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.628/1.683, allocations: 296.2 MB / 0.5521 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4905/2.174, allocations: 189.7 MB / 0.7373 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/2.174, allocations: 16.31 kB / 0.7373 GB, free: 1.797 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.0002342/2.175, allocations: 91.27 kB / 0.7374 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004425/2.175, allocations: 240.8 kB / 0.7377 GB, free: 1.797 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.02802/2.203, allocations: 12.09 MB / 0.7495 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001066/2.204, allocations: 0.9892 MB / 0.7504 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004939/2.205, allocations: 0.4887 MB / 0.7509 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/2.205, allocations: 387.5 kB / 0.7513 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/2.205, allocations: 428.8 kB / 0.7517 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/2.205, allocations: 91.88 kB / 0.7518 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03403/2.239, allocations: 20.19 MB / 0.7715 GB, free: 200 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/2.24, allocations: 200 kB / 0.7717 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007378/2.241, allocations: 450.3 kB / 0.7721 GB, free: 136 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02639/2.267, allocations: 10.37 MB / 0.7822 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/2.267, allocations: 0 / 0.7822 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.12e-07/2.267, allocations: 2.625 kB / 0.7822 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.241e-05/2.267, allocations: 0 / 0.7822 GB, free: 12.34 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.006207/2.273, allocations: 2.285 MB / 0.7845 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/2.273, allocations: 7.938 kB / 0.7845 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/2.274, allocations: 100.8 kB / 0.7846 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/2.274, allocations: 491.4 kB / 0.785 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/2.274, allocations: 120.8 kB / 0.7852 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.342e-05/2.274, allocations: 81.72 kB / 0.7852 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/2.276, allocations: 0.8747 MB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/2.276, allocations: 6.438 kB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/2.276, allocations: 34.53 kB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/2.276, allocations: 21.38 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/2.277, allocations: 0.675 MB / 0.7868 GB, free: 10.1 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.01091/2.288, allocations: 8.332 MB / 0.795 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/2.289, allocations: 219.3 kB / 0.7952 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/2.289, allocations: 87.06 kB / 0.7952 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3713/2.66, allocations: 185.9 MB / 0.9768 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.849e-05/2.66, allocations: 31.55 kB / 0.9768 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.535e-05/2.66, allocations: 8 kB / 0.9769 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.003337/2.664, allocations: 0.7366 MB / 0.9776 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/2.664, allocations: 110.8 kB / 0.9777 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/2.665, allocations: 0.5729 MB / 0.9782 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/2.665, allocations: 33.7 kB / 0.9783 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/2.665, allocations: 474.4 kB / 0.9787 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.637e-05/2.666, allocations: 83.31 kB / 0.9788 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/2.666, allocations: 162.4 kB / 0.979 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001736/2.666, allocations: 370.7 kB / 0.9793 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/2.666, allocations: 137.9 kB / 0.9794 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/2.667, allocations: 0.5024 MB / 0.9799 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009262/2.668, allocations: 0.7695 MB / 0.9807 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/2.668, allocations: 5.625 kB / 0.9807 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001868/2.67, allocations: 0.8985 MB / 0.9816 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/2.67, allocations: 64.34 kB / 0.9816 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/2.67, allocations: 16 kB / 0.9816 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000735/2.671, allocations: 203.3 kB / 0.9818 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/2.671, allocations: 124.5 kB / 0.982 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008494/2.672, allocations: 0.7543 MB / 0.9827 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/2.672, allocations: 100 kB / 0.9828 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/2.673, allocations: 51.98 kB / 0.9828 GB, free: 1.195 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.0003759/2.673, allocations: 287 kB / 0.9831 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/2.673, allocations: 55.34 kB / 0.9832 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/2.674, allocations: 0.5054 MB / 0.9837 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/2.674, allocations: 0 / 0.9837 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/2.674, allocations: 0 / 0.9837 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/2.674, allocations: 160.3 kB / 0.9838 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/2.675, allocations: 0 / 0.9838 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/2.675, allocations: 11.98 kB / 0.9838 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/2.675, allocations: 32.5 kB / 0.9839 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008723/2.676, allocations: 0.5224 MB / 0.9844 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006336/2.676, allocations: 0.5472 MB / 0.9849 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001344/2.676, allocations: 67.53 kB / 0.985 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004596/2.677, allocations: 370.8 kB / 0.9853 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of Backend: time 5.81e-07/2.677, allocations: 0.9844 kB / 0.9853 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01565/2.693, allocations: 3.872 MB / 0.9891 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of SimCode: time 0.00245/2.695, allocations: 1.735 MB / 0.9908 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of Templates: time 0.3094/3.005, allocations: 75.22 MB / 1.064 GB, free: 440.9 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)