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.8199/0.8199, allocations: 150.9 MB / 166.5 MB, free: 14.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003125, allocations: 21.25 kB / 236.6 MB, free: 2.195 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05492/0.05524, allocations: 31.35 MB / 268 MB, free: 7.641 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.577/1.632, allocations: 296.3 MB / 0.551 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02485/1.657, allocations: 22.96 MB / 0.5734 GB, free: 4.398 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/1.657, allocations: 8 kB / 0.5735 GB, free: 4.391 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.0004594/1.658, allocations: 170.4 kB / 0.5736 GB, free: 4.227 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/1.658, allocations: 261.8 kB / 0.5739 GB, free: 3.969 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.01584/1.674, allocations: 7.238 MB / 0.5809 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/1.675, allocations: 0.9725 MB / 0.5819 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/1.676, allocations: 284.8 kB / 0.5822 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/1.676, allocations: 390.5 kB / 0.5825 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/1.676, allocations: 330.5 kB / 0.5828 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.989e-05/1.676, allocations: 52 kB / 0.5829 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02297/1.699, allocations: 15.37 MB / 0.5979 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/1.7, allocations: 131.5 kB / 0.598 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004277/1.7, allocations: 358.2 kB / 0.5984 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/1.713, allocations: 6.931 MB / 0.6051 GB, free: 3.895 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/1.713, allocations: 0 / 0.6051 GB, free: 3.895 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.824e-06/1.713, allocations: 0 / 0.6051 GB, free: 3.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/1.713, allocations: 0 / 0.6051 GB, free: 3.895 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.004066/1.717, allocations: 1.536 MB / 0.6066 GB, free: 2.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.717, allocations: 12.03 kB / 0.6066 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/1.717, allocations: 115.4 kB / 0.6068 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/1.717, allocations: 75.98 kB / 0.6068 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/1.718, allocations: 342.5 kB / 0.6072 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/1.718, allocations: 130.1 kB / 0.6073 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/1.718, allocations: 44 kB / 0.6073 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/1.719, allocations: 0.7835 MB / 0.6081 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.719, allocations: 0 / 0.6081 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/1.719, allocations: 28 kB / 0.6081 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/1.719, allocations: 35.95 kB / 0.6081 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009596/1.72, allocations: 0.5747 MB / 0.6087 GB, free: 68 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.06695/1.787, allocations: 36.64 MB / 0.6445 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/1.788, allocations: 0.5386 MB / 0.645 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/1.789, allocations: 358.7 kB / 0.6454 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06736/1.856, allocations: 33.81 MB / 0.6784 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.856, allocations: 42.48 kB / 0.6784 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 2.826e-06/1.856, allocations: 0 / 0.6784 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=126): time 0.01669/1.873, allocations: 3.297 MB / 0.6816 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.873, allocations: 59.41 kB / 0.6817 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/1.874, allocations: 332.4 kB / 0.682 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/1.874, allocations: 33.7 kB / 0.682 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/1.874, allocations: 221.3 kB / 0.6823 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/1.874, allocations: 409.7 kB / 0.6826 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/1.874, allocations: 130.1 kB / 0.6828 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.874, allocations: 378.8 kB / 0.6831 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/1.875, allocations: 273.6 kB / 0.6834 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/1.876, allocations: 397.1 kB / 0.6838 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/1.877, allocations: 0.7185 MB / 0.6845 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.877, allocations: 3.938 kB / 0.6845 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004104/1.881, allocations: 1.279 MB / 0.6857 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.881, allocations: 8 kB / 0.6857 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.881, allocations: 4 kB / 0.6857 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/1.884, allocations: 1.379 MB / 0.6871 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.885, allocations: 23.92 kB / 0.6871 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/1.887, allocations: 1.394 MB / 0.6885 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/1.887, allocations: 90.95 kB / 0.6886 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/1.887, allocations: 23.98 kB / 0.6886 GB, free: 7.043 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.0002571/1.888, allocations: 179 kB / 0.6887 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/1.888, allocations: 51.25 kB / 0.6888 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/1.892, allocations: 3.95 MB / 0.6927 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002534/1.894, allocations: 1.302 MB / 0.6939 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.894, allocations: 8.062 kB / 0.6939 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/1.894, allocations: 7.922 kB / 0.6939 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006473/1.901, allocations: 2.879 MB / 0.6967 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.901, allocations: 3.938 kB / 0.6968 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/1.901, allocations: 95.89 kB / 0.6968 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/1.903, allocations: 0.8518 MB / 0.6977 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/1.903, allocations: 19.98 kB / 0.6977 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/1.905, allocations: 1.487 MB / 0.6991 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.905, allocations: 0 / 0.6991 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0045/1.91, allocations: 1.503 MB / 0.7006 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/1.91, allocations: 160 kB / 0.7008 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.91, allocations: 43.7 kB / 0.7008 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/1.91, allocations: 23.98 kB / 0.7008 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.911, allocations: 52.92 kB / 0.7009 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/1.911, allocations: 23.98 kB / 0.7009 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004349/1.911, allocations: 387.1 kB / 0.7013 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.911, allocations: 0 / 0.7013 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002414/1.913, allocations: 1.042 MB / 0.7023 GB, free: 8.699 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.009002/1.922, allocations: 3.143 MB / 0.7054 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002202/1.925, allocations: 1.162 MB / 0.7065 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.925, allocations: 0 / 0.7065 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.926, allocations: 0.5233 MB / 0.707 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/1.928, allocations: 439 kB / 0.7074 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1778/2.106, allocations: 6.572 MB / 0.7138 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/2.106, allocations: 0.9921 MB / 0.7148 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000293/2.106, allocations: 70.67 kB / 0.7149 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/2.107, allocations: 304.6 kB / 0.7152 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/2.107, allocations: 0.5625 kB / 0.7152 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07563/2.182, allocations: 59.57 MB / 0.7733 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/16.53, allocations: 3.438 kB / 0.7734 GB, free: 175.9 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)