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.8072/0.8072, allocations: 150.9 MB / 166.1 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 15.98 kB / 204.2 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 31.33 MB / 235.6 MB, free: 5.426 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.TestStaticWaterWaterExchanger): time 1.484/1.607, allocations: 295.2 MB / 0.5183 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02564/1.632, allocations: 23.41 MB / 0.5412 GB, free: 4.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/1.633, allocations: 4 kB / 0.5412 GB, free: 4.84 MB / 430.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.0004549/1.633, allocations: 141.3 kB / 0.5413 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004329/1.633, allocations: 226.1 kB / 0.5416 GB, free: 4.484 MB / 430.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.01534/1.649, allocations: 6.329 MB / 0.5477 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/1.65, allocations: 0.9763 MB / 0.5487 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/1.65, allocations: 286.7 kB / 0.549 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/1.651, allocations: 390.5 kB / 0.5493 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/1.651, allocations: 326.5 kB / 0.5496 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/1.651, allocations: 52 kB / 0.5497 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02011/1.671, allocations: 15.24 MB / 0.5646 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/1.671, allocations: 130 kB / 0.5647 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/1.672, allocations: 362.2 kB / 0.565 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/1.682, allocations: 6.954 MB / 0.5718 GB, free: 5.469 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.682, allocations: 0 / 0.5718 GB, free: 5.469 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/1.682, allocations: 0 / 0.5718 GB, free: 5.469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/1.682, allocations: 0 / 0.5718 GB, free: 5.469 MB / 462.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.003448/1.685, allocations: 1.545 MB / 0.5733 GB, free: 3.875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.685, allocations: 8.031 kB / 0.5734 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/1.685, allocations: 119.4 kB / 0.5735 GB, free: 3.742 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/1.686, allocations: 68.09 kB / 0.5735 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/1.686, allocations: 341.7 kB / 0.5739 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/1.686, allocations: 130.1 kB / 0.574 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/1.686, allocations: 49.92 kB / 0.574 GB, free: 3.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/1.687, allocations: 0.7796 MB / 0.5748 GB, free: 2.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/1.687, allocations: 0 / 0.5748 GB, free: 2.289 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/1.687, allocations: 20 kB / 0.5748 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/1.687, allocations: 35.97 kB / 0.5748 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/1.688, allocations: 0.5786 MB / 0.5754 GB, free: 1.656 MB / 462.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.0726/1.761, allocations: 36.43 MB / 0.611 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/1.762, allocations: 0.5351 MB / 0.6115 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/1.763, allocations: 362.7 kB / 0.6118 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07633/1.839, allocations: 33.58 MB / 0.6446 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.839, allocations: 38.56 kB / 0.6447 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.344e-06/1.839, allocations: 0 / 0.6447 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01765/1.857, allocations: 3.293 MB / 0.6479 GB, free: 360 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/1.857, allocations: 55.41 kB / 0.6479 GB, free: 292 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/1.857, allocations: 340.3 kB / 0.6483 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/1.857, allocations: 29.7 kB / 0.6483 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.858, allocations: 225.2 kB / 0.6485 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/1.858, allocations: 405.8 kB / 0.6489 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/1.858, allocations: 130 kB / 0.649 GB, free: 15.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.858, allocations: 378.8 kB / 0.6494 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005585/1.859, allocations: 277.6 kB / 0.6497 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/1.859, allocations: 397.1 kB / 0.65 GB, free: 14.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.861, allocations: 0.7186 MB / 0.6507 GB, free: 13.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.861, allocations: 3.938 kB / 0.6507 GB, free: 13.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004288/1.865, allocations: 1.279 MB / 0.652 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.865, allocations: 8 kB / 0.652 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.865, allocations: 0 / 0.652 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003633/1.869, allocations: 1.389 MB / 0.6534 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/1.869, allocations: 23.92 kB / 0.6534 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/1.871, allocations: 1.386 MB / 0.6547 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/1.871, allocations: 90.95 kB / 0.6548 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/1.871, allocations: 23.98 kB / 0.6548 GB, free: 9.098 MB / 0.545 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.0002106/1.872, allocations: 179.8 kB / 0.655 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/1.872, allocations: 55.16 kB / 0.6551 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/1.876, allocations: 3.963 MB / 0.6589 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002693/1.878, allocations: 1.294 MB / 0.6602 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.878, allocations: 0 / 0.6602 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.878, allocations: 7.922 kB / 0.6602 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006641/1.885, allocations: 2.93 MB / 0.6631 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.885, allocations: 0 / 0.6631 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/1.885, allocations: 95.89 kB / 0.6632 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/1.887, allocations: 0.8557 MB / 0.664 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/1.888, allocations: 23.98 kB / 0.664 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/1.89, allocations: 1.484 MB / 0.6655 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.89, allocations: 0 / 0.6655 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/1.894, allocations: 1.503 MB / 0.6669 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/1.895, allocations: 163.9 kB / 0.6671 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/1.895, allocations: 31.77 kB / 0.6671 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/1.895, allocations: 39.83 kB / 0.6672 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.895, allocations: 52.92 kB / 0.6672 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/1.895, allocations: 23.98 kB / 0.6672 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003957/1.896, allocations: 391.1 kB / 0.6676 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.543e-06/1.896, allocations: 0 / 0.6676 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002352/1.898, allocations: 1.05 MB / 0.6686 GB, free: 10.69 MB / 0.5606 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.00861/1.907, allocations: 3.138 MB / 0.6717 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002512/1.909, allocations: 1.189 MB / 0.6729 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.909, allocations: 0 / 0.6729 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.91, allocations: 0.5233 MB / 0.6734 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/1.912, allocations: 434.6 kB / 0.6738 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.923, allocations: 6.916 MB / 0.6805 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/1.924, allocations: 0.9986 MB / 0.6815 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002782/1.924, allocations: 68.81 kB / 0.6816 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/1.924, allocations: 311.3 kB / 0.6819 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/1.924, allocations: 0 / 0.6819 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2072/2.131, allocations: 58.47 MB / 0.739 GB, free: 200.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/2.132, allocations: 253.1 kB / 0.7392 GB, free: 200.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.297/6.428, allocations: 4 kB / 0.7392 GB, free: 200.5 MB / 0.5762 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)