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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7754/0.7754, allocations: 152.6 MB / 169.6 MB, free: 14.8 MB / 142.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004654, allocations: 19.75 kB / 245.6 MB, free: 15.65 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05122/0.05168, allocations: 33.06 MB / 278.7 MB, free: 0.5977 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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.553/1.604, allocations: 302.8 MB / 0.5679 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02831/1.633, allocations: 23.16 MB / 0.5905 GB, free: 9.719 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/1.633, allocations: 4 kB / 0.5905 GB, free: 9.715 MB / 478.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.0005333/1.633, allocations: 223.9 kB / 0.5907 GB, free: 9.496 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006892/1.634, allocations: 429.6 kB / 0.5911 GB, free: 9.074 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.01681/1.651, allocations: 7.364 MB / 0.5983 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002578/1.653, allocations: 2.557 MB / 0.6008 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006795/1.654, allocations: 0.6063 MB / 0.6014 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/1.655, allocations: 0.8883 MB / 0.6023 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/1.656, allocations: 0.8723 MB / 0.6031 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/1.656, allocations: 120 kB / 0.6032 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02375/1.68, allocations: 15.45 MB / 0.6183 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005522/1.681, allocations: 486.6 kB / 0.6188 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009527/1.682, allocations: 0.7505 MB / 0.6195 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/1.693, allocations: 7.922 MB / 0.6273 GB, free: 4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.693, allocations: 4 kB / 0.6273 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.693, allocations: 0 / 0.6273 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.901e-05/1.693, allocations: 0 / 0.6273 GB, free: 3.996 MB / 0.4981 GB 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.006488/1.699, allocations: 2.352 MB / 0.6296 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.699, allocations: 8.031 kB / 0.6296 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/1.7, allocations: 140 kB / 0.6297 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/1.701, allocations: 0.5733 MB / 0.6303 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/1.701, allocations: 98 kB / 0.6304 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/1.701, allocations: 107.9 kB / 0.6305 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003105/1.704, allocations: 1.969 MB / 0.6324 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/1.704, allocations: 0 / 0.6324 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/1.704, allocations: 44 kB / 0.6324 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/1.704, allocations: 67.92 kB / 0.6325 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003368/1.707, allocations: 1.914 MB / 0.6344 GB, free: 12.55 MB / 0.5137 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.07943/1.787, allocations: 39.77 MB / 0.6732 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/1.789, allocations: 1.516 MB / 0.6747 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/1.791, allocations: 1.045 MB / 0.6757 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0744/1.866, allocations: 33.85 MB / 0.7088 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/1.866, allocations: 59.81 kB / 0.7088 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=292): time 3.146e-06/1.866, allocations: 0 / 0.7088 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=292): time 0.02894/1.895, allocations: 7.21 MB / 0.7159 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.895, allocations: 68.72 kB / 0.7159 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/1.895, allocations: 357.6 kB / 0.7163 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.895, allocations: 49.64 kB / 0.7163 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/1.895, allocations: 288.3 kB / 0.7166 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.1663/2.062, allocations: 0.9888 MB / 0.7175 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006299/2.062, allocations: 341.2 kB / 0.7179 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/2.062, allocations: 330.5 kB / 0.7182 GB, free: 219.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/2.064, allocations: 1.023 MB / 0.7192 GB, free: 219.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/2.066, allocations: 1.211 MB / 0.7204 GB, free: 219.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/2.069, allocations: 2.46 MB / 0.7228 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/2.069, allocations: 0 / 0.7228 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005256/2.074, allocations: 3.605 MB / 0.7263 GB, free: 218.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/2.074, allocations: 8.719 kB / 0.7263 GB, free: 218.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/2.074, allocations: 2.875 kB / 0.7263 GB, free: 218.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01447/2.089, allocations: 4.822 MB / 0.731 GB, free: 218.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/2.089, allocations: 32.45 kB / 0.731 GB, free: 218.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007013/2.096, allocations: 4.905 MB / 0.7358 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/2.097, allocations: 195.7 kB / 0.736 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/2.097, allocations: 64.98 kB / 0.7361 GB, free: 216.1 MB / 0.5919 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.0004686/2.097, allocations: 367.2 kB / 0.7364 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/2.098, allocations: 102.8 kB / 0.7365 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008574/2.106, allocations: 10.7 MB / 0.747 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004765/2.111, allocations: 3.917 MB / 0.7508 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/2.111, allocations: 0 / 0.7508 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/2.111, allocations: 21.69 kB / 0.7508 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/2.123, allocations: 7.888 MB / 0.7585 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/2.123, allocations: 0 / 0.7585 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/2.124, allocations: 347.2 kB / 0.7589 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00366/2.128, allocations: 1.921 MB / 0.7607 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/2.128, allocations: 75.38 kB / 0.7608 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005331/2.133, allocations: 6.896 MB / 0.7675 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/2.133, allocations: 0 / 0.7675 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009345/2.143, allocations: 6.116 MB / 0.7735 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/2.143, allocations: 272.1 kB / 0.7738 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/2.143, allocations: 67.62 kB / 0.7738 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/2.144, allocations: 69.67 kB / 0.7739 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/2.144, allocations: 170.8 kB / 0.7741 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/2.144, allocations: 88.11 kB / 0.7742 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003094/2.144, allocations: 398.1 kB / 0.7745 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.144, allocations: 0 / 0.7745 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002472/2.147, allocations: 1.364 MB / 0.7759 GB, free: 179.5 MB / 0.5919 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.003009/2.15, allocations: 1.255 MB / 0.7771 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005375/2.155, allocations: 3.811 MB / 0.7808 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/2.155, allocations: 3.938 kB / 0.7808 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/2.158, allocations: 2.003 MB / 0.7828 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/2.162, allocations: 0.8788 MB / 0.7836 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006901/2.169, allocations: 5.275 MB / 0.7888 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/2.169, allocations: 1.54 MB / 0.7903 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/2.169, allocations: 99.41 kB / 0.7904 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/2.169, allocations: 0 / 0.7904 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.04152/2.211, allocations: 55.39 MB / 0.8445 GB, free: 110 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.254722462035716] Failed to read output from testmodel.py, exit status != 0: 2.511036411160603 2.519308738 0.824441698 Calling exit ...