Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",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.8518/0.8518, allocations: 150.9 MB / 166.5 MB, free: 14.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004855, allocations: 15.98 kB / 236.6 MB, free: 2.004 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0543/0.0548, allocations: 31.35 MB / 267.9 MB, free: 7.539 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.TestStaticWaterWaterExchanger): time 1.697/1.752, allocations: 296.8 MB / 0.5515 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02899/1.781, allocations: 22.97 MB / 0.5739 GB, free: 4.445 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/1.781, allocations: 4 kB / 0.5739 GB, free: 4.441 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42: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/StaticWaterWaterExchanger.mo:84:3-86:38: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/StaticWaterWaterExchanger.mo:87:3-89:37: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/StaticWaterWaterExchanger.mo:90:3-92:37: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.0004784/1.782, allocations: 164.6 kB / 0.5741 GB, free: 4.281 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000458/1.782, allocations: 261.8 kB / 0.5743 GB, free: 4.023 MB / 462.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.01764/1.8, allocations: 7.238 MB / 0.5814 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/1.801, allocations: 0.9802 MB / 0.5824 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/1.802, allocations: 280.8 kB / 0.5826 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004187/1.802, allocations: 382.6 kB / 0.583 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/1.802, allocations: 330.5 kB / 0.5833 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/1.802, allocations: 48 kB / 0.5834 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02519/1.828, allocations: 15.38 MB / 0.5984 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/1.828, allocations: 123.5 kB / 0.5985 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004694/1.828, allocations: 370.2 kB / 0.5988 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01403/1.842, allocations: 6.933 MB / 0.6056 GB, free: 3.949 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.842, allocations: 0 / 0.6056 GB, free: 3.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.842, allocations: 3.938 kB / 0.6056 GB, free: 3.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/1.842, allocations: 0 / 0.6056 GB, free: 3.945 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004205/1.847, allocations: 1.586 MB / 0.6072 GB, free: 2.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.847, allocations: 8.031 kB / 0.6072 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/1.847, allocations: 119.4 kB / 0.6073 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/1.847, allocations: 76.45 kB / 0.6074 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/1.847, allocations: 346.6 kB / 0.6077 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/1.848, allocations: 134 kB / 0.6078 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/1.848, allocations: 48 kB / 0.6079 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/1.849, allocations: 0.7796 MB / 0.6086 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.849, allocations: 0 / 0.6086 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/1.849, allocations: 24 kB / 0.6087 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/1.849, allocations: 39.95 kB / 0.6087 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/1.85, allocations: 0.5787 MB / 0.6093 GB, free: 52 kB / 494.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.07655/1.927, allocations: 36.64 MB / 0.645 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/1.928, allocations: 0.5447 MB / 0.6456 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/1.929, allocations: 354.7 kB / 0.6459 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07689/2.006, allocations: 33.82 MB / 0.6789 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/2.006, allocations: 38.55 kB / 0.679 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 2.916e-06/2.006, allocations: 0 / 0.679 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=126): time 0.01781/2.023, allocations: 3.301 MB / 0.6822 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/2.024, allocations: 55.41 kB / 0.6822 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/2.024, allocations: 344.4 kB / 0.6826 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/2.024, allocations: 33.64 kB / 0.6826 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/2.024, allocations: 229.7 kB / 0.6828 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/2.025, allocations: 424.1 kB / 0.6832 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/2.025, allocations: 138 kB / 0.6834 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001838/2.025, allocations: 366.8 kB / 0.6837 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/2.026, allocations: 281.6 kB / 0.684 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/2.026, allocations: 385.2 kB / 0.6843 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/2.028, allocations: 0.7264 MB / 0.6851 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/2.028, allocations: 7.938 kB / 0.6851 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004293/2.032, allocations: 1.279 MB / 0.6863 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/2.032, allocations: 4 kB / 0.6863 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/2.032, allocations: 4 kB / 0.6863 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003871/2.036, allocations: 1.379 MB / 0.6877 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/2.036, allocations: 23.92 kB / 0.6877 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/2.039, allocations: 1.394 MB / 0.6891 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/2.039, allocations: 95.23 kB / 0.6891 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/2.039, allocations: 23.98 kB / 0.6892 GB, free: 6.984 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 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002412/2.039, allocations: 179.2 kB / 0.6893 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/2.039, allocations: 55.58 kB / 0.6894 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/2.044, allocations: 3.959 MB / 0.6933 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002841/2.047, allocations: 1.294 MB / 0.6945 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/2.047, allocations: 8 kB / 0.6945 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/2.047, allocations: 7.922 kB / 0.6945 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006781/2.054, allocations: 2.864 MB / 0.6973 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/2.054, allocations: 4 kB / 0.6973 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/2.054, allocations: 99.83 kB / 0.6974 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/2.056, allocations: 0.8556 MB / 0.6983 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/2.056, allocations: 19.98 kB / 0.6983 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/2.059, allocations: 1.487 MB / 0.6997 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.059, allocations: 7.984 kB / 0.6997 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/2.063, allocations: 1.508 MB / 0.7012 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/2.064, allocations: 160.3 kB / 0.7014 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/2.064, allocations: 39.75 kB / 0.7014 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/2.064, allocations: 23.98 kB / 0.7014 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/2.064, allocations: 56.91 kB / 0.7015 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/2.064, allocations: 31.98 kB / 0.7015 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004916/2.065, allocations: 387.1 kB / 0.7019 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/2.065, allocations: 0 / 0.7019 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002744/2.068, allocations: 1.057 MB / 0.7029 GB, free: 8.609 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009455/2.077, allocations: 3.16 MB / 0.706 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002224/2.079, allocations: 1.158 MB / 0.7071 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/2.079, allocations: 0.5 kB / 0.7071 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/2.08, allocations: 0.5271 MB / 0.7076 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/2.082, allocations: 430.4 kB / 0.7081 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1714/2.254, allocations: 6.614 MB / 0.7145 GB, free: 213.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/2.254, allocations: 0.9924 MB / 0.7155 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002811/2.255, allocations: 63.92 kB / 0.7155 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/2.255, allocations: 306.5 kB / 0.7158 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/2.255, allocations: 0 / 0.7158 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08121/2.336, allocations: 59.04 MB / 0.7735 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/19.31, allocations: 11.22 kB / 0.7735 GB, free: 176.8 MB / 0.5919 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1)