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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7695/0.7695, allocations: 150.9 MB / 166 MB, free: 14.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002937, allocations: 19.98 kB / 204.1 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 31.33 MB / 235.4 MB, free: 5.41 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.488/1.62, allocations: 295.3 MB / 0.5183 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02969/1.65, allocations: 26.06 MB / 0.5437 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004149/1.65, allocations: 8 kB / 0.5437 GB, free: 2.176 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.000527/1.651, allocations: 148.1 kB / 0.5439 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/1.651, allocations: 346 kB / 0.5442 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01487/1.666, allocations: 5.31 MB / 0.5494 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00277/1.669, allocations: 2.685 MB / 0.552 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006516/1.67, allocations: 0.6265 MB / 0.5526 GB, free: 9.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/1.671, allocations: 0.7708 MB / 0.5534 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/1.672, allocations: 0.8685 MB / 0.5542 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/1.672, allocations: 68 kB / 0.5543 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02406/1.696, allocations: 15.22 MB / 0.5691 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007011/1.697, allocations: 430.7 kB / 0.5696 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/1.698, allocations: 0.7075 MB / 0.5702 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01523/1.713, allocations: 7.869 MB / 0.5779 GB, free: 15.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.713, allocations: 0 / 0.5779 GB, free: 15.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/1.713, allocations: 0 / 0.5779 GB, free: 15.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.334e-05/1.713, allocations: 3.938 kB / 0.5779 GB, free: 15.09 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.008262/1.721, allocations: 2.301 MB / 0.5802 GB, free: 12.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.721, allocations: 8.031 kB / 0.5802 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002388/1.722, allocations: 216.8 kB / 0.5804 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/1.722, allocations: 135.2 kB / 0.5805 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/1.723, allocations: 0.573 MB / 0.5811 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/1.723, allocations: 97.94 kB / 0.5812 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/1.723, allocations: 104 kB / 0.5813 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/1.726, allocations: 1.962 MB / 0.5832 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.726, allocations: 4 kB / 0.5832 GB, free: 9.527 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/1.726, allocations: 40 kB / 0.5832 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/1.726, allocations: 71.94 kB / 0.5833 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/1.729, allocations: 1.909 MB / 0.5852 GB, free: 7.508 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.07286/1.802, allocations: 39.54 MB / 0.6238 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/1.805, allocations: 1.716 MB / 0.6255 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/1.806, allocations: 1.193 MB / 0.6266 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0677/1.874, allocations: 33.61 MB / 0.6594 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.874, allocations: 43.88 kB / 0.6595 GB, free: 4.211 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.507e-06/1.874, allocations: 4 kB / 0.6595 GB, free: 4.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.03052/1.905, allocations: 7.314 MB / 0.6666 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.905, allocations: 64.72 kB / 0.6667 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/1.905, allocations: 357.5 kB / 0.667 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/1.905, allocations: 49.7 kB / 0.6671 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/1.905, allocations: 271.8 kB / 0.6673 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006962/1.906, allocations: 0.9505 MB / 0.6683 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005043/1.907, allocations: 343.8 kB / 0.6686 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.907, allocations: 329.9 kB / 0.6689 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/1.909, allocations: 1.023 MB / 0.6699 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/1.91, allocations: 1.208 MB / 0.6711 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/1.914, allocations: 2.468 MB / 0.6735 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.914, allocations: 0 / 0.6735 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006408/1.921, allocations: 3.741 MB / 0.6772 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.921, allocations: 8 kB / 0.6772 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.921, allocations: 0 / 0.6772 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01712/1.938, allocations: 4.828 MB / 0.6819 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/1.938, allocations: 39.86 kB / 0.6819 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009833/1.948, allocations: 4.889 MB / 0.6867 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.949, allocations: 189.7 kB / 0.6869 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.949, allocations: 67.94 kB / 0.6869 GB, free: 7.754 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.0007209/1.95, allocations: 365.6 kB / 0.6873 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/1.951, allocations: 106.6 kB / 0.6874 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1599/2.11, allocations: 10.92 MB / 0.698 GB, free: 226 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005822/2.116, allocations: 4.023 MB / 0.702 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/2.116, allocations: 3.938 kB / 0.702 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/2.116, allocations: 13.95 kB / 0.702 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/2.131, allocations: 8.256 MB / 0.7101 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/2.131, allocations: 0 / 0.7101 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/2.132, allocations: 354.3 kB / 0.7104 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006354/2.139, allocations: 2.98 MB / 0.7133 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/2.139, allocations: 73.95 kB / 0.7134 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006132/2.145, allocations: 6.646 MB / 0.7199 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/2.145, allocations: 0.625 kB / 0.7199 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/2.156, allocations: 6.206 MB / 0.7259 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/2.156, allocations: 261.3 kB / 0.7262 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/2.157, allocations: 71.03 kB / 0.7262 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/2.158, allocations: 97.7 kB / 0.7263 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/2.158, allocations: 173.6 kB / 0.7265 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/2.158, allocations: 81.08 kB / 0.7266 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003969/2.159, allocations: 394.2 kB / 0.727 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/2.159, allocations: 1.156 kB / 0.727 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003089/2.162, allocations: 1.347 MB / 0.7283 GB, free: 218.2 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.01529/2.177, allocations: 7.904 MB / 0.736 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006722/2.184, allocations: 3.976 MB / 0.7399 GB, free: 208.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.184, allocations: 0 / 0.7399 GB, free: 208.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003656/2.188, allocations: 2.159 MB / 0.742 GB, free: 206.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/2.191, allocations: 0.8539 MB / 0.7428 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02584/2.217, allocations: 18.41 MB / 0.7608 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/2.218, allocations: 1.536 MB / 0.7623 GB, free: 186.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009542/2.219, allocations: 321.6 kB / 0.7626 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/2.22, allocations: 0.6867 MB / 0.7633 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/2.22, allocations: 0 / 0.7633 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/2.327, allocations: 99.44 MB / 0.8604 GB, free: 87.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/2.327, allocations: 259.2 kB / 0.8606 GB, free: 86.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.314/7.642, allocations: 4 kB / 0.8606 GB, free: 86.96 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1)