Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser",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.803/0.803, allocations: 150.9 MB / 166.5 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 16.34 kB / 236.6 MB, free: 2.023 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05674/0.05708, allocations: 31.35 MB / 267.9 MB, free: 7.531 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.TestSimpleStaticCondenser): time 1.574/1.631, allocations: 296.3 MB / 0.551 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02787/1.659, allocations: 24.04 MB / 0.5745 GB, free: 3.258 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/1.66, allocations: 7.938 kB / 0.5745 GB, free: 3.25 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44: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/SimpleStaticCondenser.mo:61:3-63:42: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/SimpleStaticCondenser.mo:64:3-66:36: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/SimpleStaticCondenser.mo:67:3-69: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.0005468/1.66, allocations: 195.6 kB / 0.5747 GB, free: 3.059 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/1.661, allocations: 265.8 kB / 0.575 GB, free: 2.797 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.01771/1.678, allocations: 7.424 MB / 0.5822 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/1.68, allocations: 0.8826 MB / 0.5831 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/1.68, allocations: 236.8 kB / 0.5833 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/1.681, allocations: 346.6 kB / 0.5836 GB, free: 9.902 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/1.681, allocations: 266.6 kB / 0.5839 GB, free: 9.641 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/1.681, allocations: 40 kB / 0.5839 GB, free: 9.602 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02478/1.706, allocations: 16.08 MB / 0.5996 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/1.706, allocations: 103.5 kB / 0.5997 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000454/1.706, allocations: 326.3 kB / 0.6 GB, free: 9.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01488/1.721, allocations: 7.071 MB / 0.6069 GB, free: 1.996 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.721, allocations: 0 / 0.6069 GB, free: 1.996 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/1.721, allocations: 4 kB / 0.6069 GB, free: 1.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/1.721, allocations: 0 / 0.6069 GB, free: 1.992 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004804/1.726, allocations: 1.482 MB / 0.6084 GB, free: 468 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.726, allocations: 8.031 kB / 0.6084 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/1.726, allocations: 111.2 kB / 0.6085 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/1.727, allocations: 75.98 kB / 0.6086 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/1.727, allocations: 315.2 kB / 0.6089 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/1.727, allocations: 33.38 kB / 0.6089 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/1.727, allocations: 44.12 kB / 0.609 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008734/1.728, allocations: 0.6853 MB / 0.6096 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/1.728, allocations: 4 kB / 0.6096 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/1.728, allocations: 16 kB / 0.6096 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/1.728, allocations: 35.95 kB / 0.6097 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000555/1.729, allocations: 455.6 kB / 0.6101 GB, free: 14.6 MB / 0.4981 GB 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.06939/1.798, allocations: 36.37 MB / 0.6456 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/1.799, allocations: 367.6 kB / 0.646 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/1.799, allocations: 294.8 kB / 0.6463 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07845/1.877, allocations: 36.63 MB / 0.682 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.877, allocations: 42.44 kB / 0.6821 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=124): time 2.344e-06/1.877, allocations: 0 / 0.6821 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124): time 0.002486/1.88, allocations: 1.204 MB / 0.6832 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/1.88, allocations: 55.41 kB / 0.6833 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/1.88, allocations: 324.4 kB / 0.6836 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.88, allocations: 33.7 kB / 0.6836 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/1.881, allocations: 213.4 kB / 0.6838 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/1.881, allocations: 393.8 kB / 0.6842 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/1.881, allocations: 117.6 kB / 0.6843 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.881, allocations: 366.8 kB / 0.6847 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/1.882, allocations: 221.2 kB / 0.6849 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/1.882, allocations: 331.7 kB / 0.6852 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007366/1.883, allocations: 0.6136 MB / 0.6858 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.883, allocations: 4 kB / 0.6858 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001068/1.884, allocations: 0.7802 MB / 0.6866 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.884, allocations: 8 kB / 0.6866 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.884, allocations: 0 / 0.6866 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/1.886, allocations: 345.6 kB / 0.6869 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/1.886, allocations: 19.92 kB / 0.6869 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/1.887, allocations: 1.285 MB / 0.6882 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/1.887, allocations: 78.94 kB / 0.6883 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/1.887, allocations: 12 kB / 0.6883 GB, free: 7.27 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 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002663/1.887, allocations: 171.3 kB / 0.6884 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/1.888, allocations: 59.09 kB / 0.6885 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/1.891, allocations: 4.027 MB / 0.6924 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001075/1.892, allocations: 0.8196 MB / 0.6932 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.892, allocations: 3.938 kB / 0.6932 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.893, allocations: 3.984 kB / 0.6932 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/1.896, allocations: 2.127 MB / 0.6953 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.896, allocations: 4.125 kB / 0.6953 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/1.896, allocations: 99.94 kB / 0.6954 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008022/1.897, allocations: 248 kB / 0.6956 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/1.897, allocations: 16 kB / 0.6957 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/1.898, allocations: 1.331 MB / 0.697 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.898, allocations: 0 / 0.697 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/1.899, allocations: 0.974 MB / 0.6979 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/1.9, allocations: 188 kB / 0.6981 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.9, allocations: 31.75 kB / 0.6981 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/1.9, allocations: 8 kB / 0.6981 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/1.9, allocations: 44.59 kB / 0.6982 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/1.9, allocations: 27.92 kB / 0.6982 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005042/1.901, allocations: 422.8 kB / 0.6986 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.901, allocations: 4 kB / 0.6986 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002938/1.904, allocations: 0.9954 MB / 0.6996 GB, free: 11.32 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005028/1.909, allocations: 2.581 MB / 0.7021 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001277/1.91, allocations: 1.018 MB / 0.7031 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.91, allocations: 0 / 0.7031 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005154/1.91, allocations: 408.2 kB / 0.7035 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.912, allocations: 432.3 kB / 0.7039 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/1.919, allocations: 5.717 MB / 0.7095 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1883/2.108, allocations: 0.99 MB / 0.7104 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000435/2.108, allocations: 77.58 kB / 0.7105 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/2.109, allocations: 301.5 kB / 0.7108 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/2.109, allocations: 0 / 0.7108 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07752/2.186, allocations: 54.93 MB / 0.7645 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/16.46, allocations: 8.062 kB / 0.7645 GB, free: 183.3 MB / 0.5919 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)