Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.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_DynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8375/0.8375, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 21.19 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05439/0.05479, allocations: 31.34 MB / 269.1 MB, free: 7.055 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_DynamicPlateHeatExchanger): time 1.594/1.649, allocations: 296.7 MB / 0.5526 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4709/2.12, allocations: 194.7 MB / 0.7427 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006695/2.12, allocations: 22.03 kB / 0.7428 GB, free: 0.7031 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:227:3-228:54:writable] Warning: Connector Ec 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/DynamicPlateHeatExchanger.mo:229:3-230:54:writable] Warning: Connector Ef 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/DynamicPlateHeatExchanger.mo:231:3-232:52:writable] Warning: Connector Sf 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/DynamicPlateHeatExchanger.mo:233:3-234:52:writable] Warning: Connector Sc 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/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). Notification: Performance of NFTyping.typeComponents: time 0.000414/2.121, allocations: 157.4 kB / 0.7429 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000921/2.122, allocations: 0.5263 MB / 0.7434 GB, free: 0.6797 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.0302/2.152, allocations: 13.5 MB / 0.7566 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005151/2.157, allocations: 7.666 MB / 0.7641 GB, free: 280 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/2.16, allocations: 2.363 MB / 0.7664 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/2.162, allocations: 2.252 MB / 0.7686 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005068/2.167, allocations: 3.188 MB / 0.7717 GB, free: 0 / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00104/2.168, allocations: 0.5478 MB / 0.7723 GB, free: 0 / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03917/2.208, allocations: 22.79 MB / 0.7945 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002822/2.21, allocations: 1.95 MB / 0.7964 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003333/2.214, allocations: 2.212 MB / 0.7986 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0304/2.244, allocations: 16.3 MB / 0.8145 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/2.244, allocations: 0 / 0.8145 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.733e-06/2.244, allocations: 0 / 0.8145 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.161e-05/2.244, allocations: 0 / 0.8145 GB, free: 5.574 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.01785/2.262, allocations: 5.772 MB / 0.8201 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/2.262, allocations: 8.031 kB / 0.8201 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008934/2.263, allocations: 340.2 kB / 0.8205 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/2.267, allocations: 1.841 MB / 0.8223 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/2.267, allocations: 310.9 kB / 0.8226 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006513/2.268, allocations: 334.7 kB / 0.8229 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/2.28, allocations: 6.719 MB / 0.8294 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.935e-05/2.28, allocations: 0 / 0.8294 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004352/2.281, allocations: 143.9 kB / 0.8296 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-05/2.281, allocations: 84 kB / 0.8297 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/2.302, allocations: 17.67 MB / 0.8469 GB, free: 4.32 MB / 0.6544 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.1143/2.416, allocations: 53.85 MB / 0.8995 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/2.432, allocations: 7.465 MB / 0.9068 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008304/2.44, allocations: 3.823 MB / 0.9105 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6552/3.096, allocations: 258.1 MB / 1.163 GB, free: 298.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/3.096, allocations: 99.98 kB / 1.163 GB, free: 298.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=590): time 7.764e-06/3.096, allocations: 4 kB / 1.163 GB, free: 298.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=590): time 0.0293/3.125, allocations: 14.7 MB / 1.177 GB, free: 287.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/3.125, allocations: 116 kB / 1.177 GB, free: 287.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/3.126, allocations: 0.9852 MB / 1.178 GB, free: 286.4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007458/3.127, allocations: 121.7 kB / 1.178 GB, free: 286.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/3.127, allocations: 0.7141 MB / 1.179 GB, free: 285.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/3.129, allocations: 1.994 MB / 1.181 GB, free: 283.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/3.13, allocations: 1.092 MB / 1.182 GB, free: 282.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.317e-05/3.13, allocations: 365.9 kB / 1.182 GB, free: 282.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005172/3.135, allocations: 3.375 MB / 1.186 GB, free: 278.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006116/3.141, allocations: 4.107 MB / 1.19 GB, free: 274.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/3.155, allocations: 7.935 MB / 1.197 GB, free: 266.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/3.155, allocations: 4 kB / 1.197 GB, free: 266.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.02307/3.178, allocations: 12.28 MB / 1.209 GB, free: 254.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/3.178, allocations: 12 kB / 1.209 GB, free: 254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/3.178, allocations: 12 kB / 1.209 GB, free: 254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07899/3.257, allocations: 22.65 MB / 1.232 GB, free: 231.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/3.258, allocations: 295 kB / 1.232 GB, free: 231.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/3.285, allocations: 14.37 MB / 1.246 GB, free: 216.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/3.288, allocations: 0.5944 MB / 1.246 GB, free: 216.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006936/3.289, allocations: 279.8 kB / 1.247 GB, free: 215.8 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,echangeurAPlaques1D.fluid_c,echangeurAPlaques1D.fluid_f,puitsP.fluid,puitsP1.fluid,sourceP1.fluid1,sourceP.fluid1,echangeurAPlaques1D.Ef.diff_on_2,echangeurAPlaques1D.Sf.diff_on_1,echangeurAPlaques1D.Ec.diff_on_2,echangeurAPlaques1D.Sc.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(60,460), (2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001463/3.29, allocations: 0.8007 MB / 1.247 GB, free: 215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007278/3.291, allocations: 293.2 kB / 1.248 GB, free: 214.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02575/3.317, allocations: 13.59 MB / 1.261 GB, free: 201.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000125/3.317, allocations: 27.89 kB / 1.261 GB, free: 201.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/3.317, allocations: 0 / 1.261 GB, free: 201.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/3.32, allocations: 1.207 MB / 1.262 GB, free: 199.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007859/3.321, allocations: 96 kB / 1.262 GB, free: 199.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/3.324, allocations: 260.3 kB / 1.263 GB, free: 199.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007489/3.325, allocations: 384.2 kB / 1.263 GB, free: 199.2 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04131/3.366, allocations: 15.12 MB / 1.278 GB, free: 184.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01963/3.386, allocations: 11.84 MB / 1.289 GB, free: 172.1 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005823/3.391, allocations: 3.632 MB / 1.293 GB, free: 168.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006759/3.392, allocations: 0.6419 MB / 1.293 GB, free: 167.8 MB / 0.8262 GB Notification: Performance of Backend: time 5.81e-07/3.392, allocations: 4.562 kB / 1.293 GB, free: 167.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.031/3.423, allocations: 10.44 MB / 1.304 GB, free: 158.3 MB / 0.8262 GB Notification: Performance of SimCode: time 0.01001/3.433, allocations: 10.74 MB / 1.314 GB, free: 147.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.3745/3.808, allocations: 178 MB / 1.488 GB, free: 419.8 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe 2>&1)