Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8579/0.8579, allocations: 150.8 MB / 166.6 MB, free: 11.18 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.000248, allocations: 15.98 kB / 204.7 MB, free: 6.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1407, allocations: 31.32 MB / 236 MB, free: 3.891 MB / 186.7 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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.53/1.671, allocations: 293.6 MB / 0.5172 GB, free: 8.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03019/1.701, allocations: 26.05 MB / 0.5427 GB, free: 14.53 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/1.702, allocations: 4 kB / 0.5427 GB, free: 14.52 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:117:3-118:48:writable] Warning: Connector Ec 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 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:119:3-120:48:writable] Warning: Connector Ef 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 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:121:3-122:46:writable] Warning: Connector Sf 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 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:123:3-124:46:writable] Warning: Connector Sc 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 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C 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.0004652/1.702, allocations: 164.9 kB / 0.5428 GB, free: 14.36 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005939/1.703, allocations: 338.1 kB / 0.5431 GB, free: 14.03 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01341/1.716, allocations: 5.307 MB / 0.5483 GB, free: 8.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002641/1.719, allocations: 2.697 MB / 0.551 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/1.72, allocations: 0.6287 MB / 0.5516 GB, free: 5.391 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/1.722, allocations: 0.7786 MB / 0.5523 GB, free: 4.609 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/1.723, allocations: 0.8724 MB / 0.5532 GB, free: 3.734 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/1.724, allocations: 68 kB / 0.5532 GB, free: 3.668 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02303/1.747, allocations: 15.22 MB / 0.5681 GB, free: 4.43 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007004/1.747, allocations: 434.6 kB / 0.5685 GB, free: 4.004 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/1.748, allocations: 0.7036 MB / 0.5692 GB, free: 3.297 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/1.764, allocations: 7.861 MB / 0.5769 GB, free: 11.42 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.764, allocations: 0 / 0.5769 GB, free: 11.42 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/1.764, allocations: 0 / 0.5769 GB, free: 11.42 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.667e-05/1.764, allocations: 0 / 0.5769 GB, free: 11.42 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.00723/1.771, allocations: 2.303 MB / 0.5791 GB, free: 9.059 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.771, allocations: 8.031 kB / 0.5791 GB, free: 9.051 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/1.771, allocations: 139.2 kB / 0.5793 GB, free: 8.914 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/1.772, allocations: 0.5693 MB / 0.5798 GB, free: 8.305 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-05/1.772, allocations: 94 kB / 0.5799 GB, free: 8.211 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/1.772, allocations: 104 kB / 0.58 GB, free: 8.109 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/1.776, allocations: 1.966 MB / 0.5819 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/1.776, allocations: 0 / 0.5819 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.776, allocations: 40 kB / 0.582 GB, free: 6.039 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/1.776, allocations: 75.92 kB / 0.5821 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003293/1.779, allocations: 1.91 MB / 0.5839 GB, free: 4.051 MB / 474.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.07863/1.858, allocations: 39.55 MB / 0.6225 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/1.86, allocations: 1.711 MB / 0.6242 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/1.862, allocations: 1.197 MB / 0.6254 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07472/1.937, allocations: 33.61 MB / 0.6582 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/1.937, allocations: 43.88 kB / 0.6582 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=292): time 3.126e-06/1.937, allocations: 3.938 kB / 0.6582 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of matching and sorting (n=292): time 0.02934/1.966, allocations: 7.303 MB / 0.6654 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.966, allocations: 72.7 kB / 0.6654 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/1.967, allocations: 345.6 kB / 0.6658 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.967, allocations: 49.7 kB / 0.6658 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.967, allocations: 283.7 kB / 0.6661 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007214/1.968, allocations: 0.9582 MB / 0.667 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005228/1.968, allocations: 339.8 kB / 0.6674 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.968, allocations: 326 kB / 0.6677 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/1.97, allocations: 1.023 MB / 0.6687 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/1.972, allocations: 1.212 MB / 0.6698 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003946/1.976, allocations: 2.464 MB / 0.6723 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.976, allocations: 0 / 0.6723 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006529/1.982, allocations: 3.741 MB / 0.6759 GB, free: 14.33 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.983, allocations: 8 kB / 0.6759 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.983, allocations: 0 / 0.6759 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01651/1.999, allocations: 4.828 MB / 0.6806 GB, free: 9.492 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/1.999, allocations: 31.98 kB / 0.6807 GB, free: 9.461 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008453/2.008, allocations: 4.9 MB / 0.6854 GB, free: 4.535 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/2.009, allocations: 189.7 kB / 0.6856 GB, free: 4.348 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/2.009, allocations: 71.94 kB / 0.6857 GB, free: 4.277 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP1.C.a,puitsP.C.a,sourceP1.C.b,sourceP.C.b,echangeurAPlaques1D.Sc.b,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(22,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0005766/2.01, allocations: 364 kB / 0.686 GB, free: 3.914 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/2.01, allocations: 106.5 kB / 0.6861 GB, free: 3.809 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1669/2.177, allocations: 10.92 MB / 0.6968 GB, free: 222.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005603/2.182, allocations: 4.022 MB / 0.7007 GB, free: 222 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/2.182, allocations: 6.25 kB / 0.7007 GB, free: 221.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/2.182, allocations: 15.53 kB / 0.7008 GB, free: 221.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/2.197, allocations: 8.251 MB / 0.7088 GB, free: 221 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/2.197, allocations: 0 / 0.7088 GB, free: 221 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/2.198, allocations: 353.6 kB / 0.7092 GB, free: 221 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006478/2.204, allocations: 2.983 MB / 0.7121 GB, free: 220.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/2.205, allocations: 73.39 kB / 0.7121 GB, free: 220.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005987/2.211, allocations: 6.642 MB / 0.7186 GB, free: 216 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.211, allocations: 4.625 kB / 0.7186 GB, free: 215.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1768/2.388, allocations: 76.36 MB / 0.7932 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/2.388, allocations: 270.4 kB / 0.7935 GB, free: 145.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/2.388, allocations: 67.69 kB / 0.7935 GB, free: 145.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009862/2.389, allocations: 91.7 kB / 0.7936 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/2.389, allocations: 169.9 kB / 0.7938 GB, free: 145.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/2.389, allocations: 79.94 kB / 0.7938 GB, free: 145.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003451/2.39, allocations: 395.1 kB / 0.7942 GB, free: 144.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.21e-07/2.39, allocations: 0 / 0.7942 GB, free: 144.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005208/2.395, allocations: 2.527 MB / 0.7967 GB, free: 142.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (echangeurAPlaques1D.Hmc[1],echangeurAPlaques1D.Hmc[2],echangeurAPlaques1D.Hmc[3],echangeurAPlaques1D.Hmc[4],echangeurAPlaques1D.Hmc[5],echangeurAPlaques1D.Hmf[1],echangeurAPlaques1D.Hmf[2],echangeurAPlaques1D.Hmf[3],echangeurAPlaques1D.Hmf[4],echangeurAPlaques1D.Hmf[5]) * 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 (188): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,35), (5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006391/2.401, allocations: 1.838 MB / 0.7985 GB, free: 140.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006399/2.408, allocations: 3.982 MB / 0.8024 GB, free: 136.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/2.408, allocations: 0 / 0.8024 GB, free: 136.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003672/2.412, allocations: 2.151 MB / 0.8045 GB, free: 134.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/2.416, allocations: 0.8616 MB / 0.8053 GB, free: 133.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/2.428, allocations: 9.682 MB / 0.8148 GB, free: 124.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008893/2.429, allocations: 1.734 MB / 0.8165 GB, free: 122.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001363/2.43, allocations: 428.7 kB / 0.8169 GB, free: 121.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/2.431, allocations: 151.3 kB / 0.817 GB, free: 121.8 MB / 0.573 GB Notification: Performance of SimCode: time 7.02e-07/2.431, allocations: 0 / 0.817 GB, free: 121.8 MB / 0.573 GB Notification: Performance of Templates: time 0.3146/2.745, allocations: 140.7 MB / 0.9544 GB, free: 193.7 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1)