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.8118/0.8118, allocations: 150.9 MB / 166.4 MB, free: 14.21 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003319, allocations: 15.97 kB / 204.6 MB, free: 9.543 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 31.33 MB / 236 MB, free: 5.438 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.527/1.652, allocations: 296.3 MB / 0.5198 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02556/1.678, allocations: 22.96 MB / 0.5423 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/1.678, allocations: 4 kB / 0.5423 GB, free: 4.922 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.0004302/1.679, allocations: 177.3 kB / 0.5424 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/1.679, allocations: 260.6 kB / 0.5427 GB, free: 4.496 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.01586/1.695, allocations: 7.223 MB / 0.5497 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/1.696, allocations: 0.9686 MB / 0.5507 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/1.696, allocations: 287.9 kB / 0.5509 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/1.697, allocations: 382.6 kB / 0.5513 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/1.697, allocations: 326.5 kB / 0.5516 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.96e-05/1.697, allocations: 56 kB / 0.5517 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02161/1.719, allocations: 15.15 MB / 0.5665 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/1.719, allocations: 131.5 kB / 0.5666 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/1.719, allocations: 358.2 kB / 0.5669 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.73, allocations: 6.935 MB / 0.5737 GB, free: 4.707 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.73, allocations: 0 / 0.5737 GB, free: 4.707 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.233e-06/1.73, allocations: 0 / 0.5737 GB, free: 4.707 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/1.73, allocations: 0 / 0.5737 GB, free: 4.707 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.003431/1.733, allocations: 1.544 MB / 0.5752 GB, free: 3.113 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.733, allocations: 8.031 kB / 0.5752 GB, free: 3.105 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/1.733, allocations: 123.4 kB / 0.5753 GB, free: 2.977 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/1.733, allocations: 68.09 kB / 0.5754 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/1.734, allocations: 341.6 kB / 0.5757 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/1.734, allocations: 126.1 kB / 0.5759 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/1.734, allocations: 48 kB / 0.5759 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.735, allocations: 0.7796 MB / 0.5767 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.735, allocations: 0 / 0.5767 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/1.735, allocations: 24 kB / 0.5767 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/1.735, allocations: 39.97 kB / 0.5767 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/1.736, allocations: 0.5779 MB / 0.5773 GB, free: 0.8867 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.0772/1.814, allocations: 36.43 MB / 0.6129 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/1.815, allocations: 0.5347 MB / 0.6134 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/1.816, allocations: 354.8 kB / 0.6137 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07878/1.894, allocations: 33.59 MB / 0.6465 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/1.894, allocations: 42.5 kB / 0.6466 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.404e-06/1.894, allocations: 4 kB / 0.6466 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01854/1.913, allocations: 3.286 MB / 0.6498 GB, free: 15.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/1.913, allocations: 59.34 kB / 0.6498 GB, free: 15.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/1.913, allocations: 336.4 kB / 0.6502 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/1.913, allocations: 29.7 kB / 0.6502 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/1.914, allocations: 233.2 kB / 0.6504 GB, free: 14.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/1.914, allocations: 405.8 kB / 0.6508 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/1.914, allocations: 134 kB / 0.6509 GB, free: 14.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.914, allocations: 370.8 kB / 0.6513 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/1.915, allocations: 285.6 kB / 0.6516 GB, free: 13.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/1.915, allocations: 393.1 kB / 0.6519 GB, free: 13.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/1.917, allocations: 0.7225 MB / 0.6526 GB, free: 12.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.917, allocations: 7.938 kB / 0.6526 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004476/1.921, allocations: 1.275 MB / 0.6539 GB, free: 11.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.921, allocations: 4 kB / 0.6539 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.921, allocations: 8 kB / 0.6539 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003944/1.925, allocations: 1.378 MB / 0.6552 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/1.925, allocations: 23.92 kB / 0.6553 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/1.928, allocations: 1.378 MB / 0.6566 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/1.928, allocations: 94.94 kB / 0.6567 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/1.928, allocations: 24 kB / 0.6567 GB, free: 8.32 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.0002183/1.928, allocations: 178.5 kB / 0.6569 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.929, allocations: 55.16 kB / 0.657 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/1.933, allocations: 3.959 MB / 0.6608 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002869/1.936, allocations: 1.29 MB / 0.6621 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.936, allocations: 4 kB / 0.6621 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.936, allocations: 11.91 kB / 0.6621 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006817/1.942, allocations: 2.931 MB / 0.665 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/1.942, allocations: 0 / 0.665 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/1.943, allocations: 95.84 kB / 0.665 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002352/1.945, allocations: 0.8557 MB / 0.6659 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/1.945, allocations: 19.98 kB / 0.6659 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/1.947, allocations: 1.479 MB / 0.6673 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.947, allocations: 0 / 0.6673 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004867/1.952, allocations: 1.518 MB / 0.6688 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/1.952, allocations: 152 kB / 0.669 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.952, allocations: 35.72 kB / 0.669 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/1.953, allocations: 31.97 kB / 0.669 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.953, allocations: 52.92 kB / 0.6691 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/1.953, allocations: 23.98 kB / 0.6691 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004017/1.953, allocations: 387.1 kB / 0.6695 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.953, allocations: 0 / 0.6695 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002321/1.956, allocations: 1.05 MB / 0.6705 GB, free: 9.918 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.009073/1.965, allocations: 3.155 MB / 0.6736 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00261/1.967, allocations: 1.17 MB / 0.6747 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.967, allocations: 4 kB / 0.6747 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.969, allocations: 0.5316 MB / 0.6753 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.971, allocations: 436.2 kB / 0.6757 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.982, allocations: 6.609 MB / 0.6821 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/1.982, allocations: 0.9947 MB / 0.6831 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002967/1.983, allocations: 64.81 kB / 0.6832 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/1.983, allocations: 307.3 kB / 0.6834 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/1.983, allocations: 0 / 0.6834 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/2.198, allocations: 58.67 MB / 0.7407 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/15.32, allocations: 11.75 kB / 0.7408 GB, free: 200.3 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)