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.7906/0.7906, allocations: 150.9 MB / 166 MB, free: 14.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 15.97 kB / 204 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 31.33 MB / 235.4 MB, free: 5.43 MB / 190.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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.536/1.675, allocations: 294.3 MB / 0.5172 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02845/1.704, allocations: 26.06 MB / 0.5427 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/1.704, allocations: 4 kB / 0.5427 GB, free: 2.316 MB / 430.1 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.0004681/1.705, allocations: 159.9 kB / 0.5428 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005501/1.705, allocations: 334.1 kB / 0.5432 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01313/1.718, allocations: 5.319 MB / 0.5484 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/1.721, allocations: 2.681 MB / 0.551 GB, free: 9.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/1.721, allocations: 0.6286 MB / 0.5516 GB, free: 9.199 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007893/1.722, allocations: 0.763 MB / 0.5523 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009047/1.723, allocations: 0.8684 MB / 0.5532 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/1.723, allocations: 68 kB / 0.5532 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02149/1.745, allocations: 15.22 MB / 0.5681 GB, free: 8.254 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006347/1.745, allocations: 434.6 kB / 0.5685 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009276/1.746, allocations: 0.6997 MB / 0.5692 GB, free: 7.125 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/1.76, allocations: 7.861 MB / 0.5769 GB, free: 15.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.76, allocations: 4 kB / 0.5769 GB, free: 15.24 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.313e-06/1.76, allocations: 4 kB / 0.5769 GB, free: 15.24 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/1.76, allocations: 0 / 0.5769 GB, free: 15.24 MB / 478.1 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.006982/1.767, allocations: 2.296 MB / 0.5791 GB, free: 12.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/1.767, allocations: 12.03 kB / 0.5791 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/1.768, allocations: 135.2 kB / 0.5793 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/1.768, allocations: 0.5732 MB / 0.5798 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.266e-05/1.768, allocations: 97.94 kB / 0.5799 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/1.769, allocations: 104 kB / 0.58 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/1.772, allocations: 1.966 MB / 0.5819 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.772, allocations: 0 / 0.5819 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.772, allocations: 43.94 kB / 0.582 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-05/1.772, allocations: 75.92 kB / 0.5821 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/1.775, allocations: 1.906 MB / 0.5839 GB, free: 7.871 MB / 478.1 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.07259/1.848, allocations: 39.54 MB / 0.6225 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/1.85, allocations: 1.715 MB / 0.6242 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/1.852, allocations: 1.197 MB / 0.6254 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06947/1.921, allocations: 33.62 MB / 0.6582 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.921, allocations: 43.88 kB / 0.6583 GB, free: 4.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.637e-06/1.921, allocations: 0 / 0.6583 GB, free: 4.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.03188/1.953, allocations: 7.307 MB / 0.6654 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.953, allocations: 72.7 kB / 0.6655 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/1.954, allocations: 345.5 kB / 0.6658 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.954, allocations: 53.7 kB / 0.6658 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/1.954, allocations: 275.7 kB / 0.6661 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007199/1.955, allocations: 0.9543 MB / 0.667 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/1.955, allocations: 339.8 kB / 0.6674 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.955, allocations: 326 kB / 0.6677 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/1.957, allocations: 1.026 MB / 0.6687 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/1.959, allocations: 1.212 MB / 0.6699 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/1.963, allocations: 2.46 MB / 0.6723 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/1.963, allocations: 8 kB / 0.6723 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006559/1.97, allocations: 3.737 MB / 0.6759 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.97, allocations: 10.02 kB / 0.6759 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.97, allocations: 4 kB / 0.6759 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01707/1.987, allocations: 4.828 MB / 0.6806 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/1.987, allocations: 39.86 kB / 0.6807 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009366/1.997, allocations: 4.897 MB / 0.6855 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.998, allocations: 185.7 kB / 0.6856 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/1.998, allocations: 67.94 kB / 0.6857 GB, free: 8.113 MB / 0.5762 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.0006848/1.999, allocations: 365.6 kB / 0.6861 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/1.999, allocations: 102.6 kB / 0.6862 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1704/2.169, allocations: 10.91 MB / 0.6968 GB, free: 226 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005725/2.175, allocations: 4.023 MB / 0.7007 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/2.175, allocations: 3.938 kB / 0.7007 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/2.175, allocations: 14.02 kB / 0.7008 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/2.189, allocations: 8.257 MB / 0.7088 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-06/2.189, allocations: 0 / 0.7088 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/2.19, allocations: 351.1 kB / 0.7092 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006362/2.197, allocations: 2.985 MB / 0.7121 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/2.197, allocations: 70.28 kB / 0.7121 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005949/2.203, allocations: 6.648 MB / 0.7186 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.203, allocations: 1.062 kB / 0.7186 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/2.214, allocations: 6.207 MB / 0.7247 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/2.214, allocations: 267.4 kB / 0.7249 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/2.215, allocations: 68.53 kB / 0.725 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/2.216, allocations: 83.33 kB / 0.7251 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/2.216, allocations: 173.7 kB / 0.7253 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/2.216, allocations: 84.97 kB / 0.7253 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003665/2.216, allocations: 397.3 kB / 0.7257 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/2.216, allocations: 0 / 0.7257 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002881/2.219, allocations: 1.358 MB / 0.727 GB, free: 218.4 MB / 0.5762 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.003642/2.223, allocations: 1.248 MB / 0.7283 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006187/2.229, allocations: 3.98 MB / 0.7321 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/2.229, allocations: 0 / 0.7321 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00361/2.233, allocations: 2.16 MB / 0.7343 GB, free: 213.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/2.237, allocations: 0.8605 MB / 0.7351 GB, free: 212.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/2.245, allocations: 5.898 MB / 0.7409 GB, free: 207.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/2.245, allocations: 1.543 MB / 0.7424 GB, free: 205.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009372/2.246, allocations: 310.1 kB / 0.7427 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/2.247, allocations: 107.4 kB / 0.7428 GB, free: 205.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/2.247, allocations: 0 / 0.7428 GB, free: 205.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.08308/2.33, allocations: 80.93 MB / 0.8218 GB, free: 125.8 MB / 0.5762 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)