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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8458/0.8458, allocations: 153.8 MB / 173.4 MB, free: 4.859 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005013, allocations: 11.97 kB / 250.6 MB, free: 4.352 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.19, allocations: 33.35 MB / 283.9 MB, free: 1.707 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 1.88/2.07, allocations: 308.5 MB / 0.5786 GB, free: 17.25 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/2.091, allocations: 20.64 MB / 0.5987 GB, free: 8.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/2.092, allocations: 4.031 kB / 0.5987 GB, free: 8.492 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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.0004672/2.092, allocations: 179.6 kB / 0.5989 GB, free: 8.406 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004983/2.093, allocations: 322.2 kB / 0.5992 GB, free: 8.188 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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.0177/2.11, allocations: 7.222 MB / 0.6063 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/2.112, allocations: 0.9863 MB / 0.6072 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/2.112, allocations: 234.8 kB / 0.6075 GB, free: 4.258 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/2.112, allocations: 404.7 kB / 0.6078 GB, free: 4.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/2.113, allocations: 326 kB / 0.6081 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.119e-05/2.113, allocations: 51.81 kB / 0.6082 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02681/2.139, allocations: 15.25 MB / 0.6231 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/2.14, allocations: 132 kB / 0.6232 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000592/2.14, allocations: 291.5 kB / 0.6235 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01666/2.157, allocations: 6.969 MB / 0.6303 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/2.157, allocations: 0 / 0.6303 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/2.157, allocations: 1.031 kB / 0.6303 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.178e-05/2.157, allocations: 0 / 0.6303 GB, free: 15.14 MB / 0.4981 GB 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.004536/2.161, allocations: 1.514 MB / 0.6318 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/2.162, allocations: 8.031 kB / 0.6318 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.842e-05/2.162, allocations: 20 kB / 0.6318 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/2.162, allocations: 116.2 kB / 0.6319 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/2.162, allocations: 76.31 kB / 0.632 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/2.162, allocations: 282 kB / 0.6323 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/2.162, allocations: 208.2 kB / 0.6325 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/2.163, allocations: 47.98 kB / 0.6325 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/2.164, allocations: 0.7953 MB / 0.6333 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/2.164, allocations: 4.781 kB / 0.6333 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/2.164, allocations: 28.59 kB / 0.6333 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/2.164, allocations: 31.97 kB / 0.6333 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/2.165, allocations: 0.5859 MB / 0.6339 GB, free: 11.31 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.06819/2.233, allocations: 21.91 MB / 0.6553 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/2.235, allocations: 469.3 kB / 0.6558 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/2.235, allocations: 278.8 kB / 0.656 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06821/2.303, allocations: 21.17 MB / 0.6767 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/2.303, allocations: 39.61 kB / 0.6767 GB, free: 15.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=126): time 3.226e-06/2.303, allocations: 0.5625 kB / 0.6767 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=126): time 0.01748/2.321, allocations: 3.192 MB / 0.6799 GB, free: 12.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/2.321, allocations: 59.27 kB / 0.6799 GB, free: 12.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/2.321, allocations: 332.5 kB / 0.6802 GB, free: 11.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/2.321, allocations: 33.7 kB / 0.6803 GB, free: 11.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/2.322, allocations: 225.7 kB / 0.6805 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/2.322, allocations: 433.2 kB / 0.6809 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/2.322, allocations: 134 kB / 0.681 GB, free: 10.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000182/2.322, allocations: 374.8 kB / 0.6814 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/2.323, allocations: 285.6 kB / 0.6817 GB, free: 10.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/2.324, allocations: 389.2 kB / 0.682 GB, free: 9.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/2.325, allocations: 0.7302 MB / 0.6827 GB, free: 9.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/2.325, allocations: 3.984 kB / 0.6827 GB, free: 9.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004327/2.329, allocations: 1.244 MB / 0.684 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/2.329, allocations: 5.562 kB / 0.684 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/2.329, allocations: 4 kB / 0.684 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/2.333, allocations: 1.379 MB / 0.6853 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/2.333, allocations: 20.73 kB / 0.6853 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/2.336, allocations: 1.382 MB / 0.6867 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/2.336, allocations: 95.28 kB / 0.6868 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/2.336, allocations: 20 kB / 0.6868 GB, free: 4.906 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.0002704/2.336, allocations: 185.7 kB / 0.687 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/2.336, allocations: 60.95 kB / 0.687 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/2.341, allocations: 3.874 MB / 0.6908 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002715/2.344, allocations: 1.257 MB / 0.692 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/2.344, allocations: 0 / 0.692 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/2.344, allocations: 11.91 kB / 0.692 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00675/2.35, allocations: 2.685 MB / 0.6947 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/2.35, allocations: 3.984 kB / 0.6947 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/2.351, allocations: 95.84 kB / 0.6948 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002488/2.353, allocations: 0.8678 MB / 0.6956 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/2.353, allocations: 16 kB / 0.6956 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/2.356, allocations: 1.507 MB / 0.6971 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/2.356, allocations: 0 / 0.6971 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/2.361, allocations: 1.488 MB / 0.6986 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/2.361, allocations: 91.2 kB / 0.6986 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/2.361, allocations: 35.77 kB / 0.6987 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/2.361, allocations: 21.05 kB / 0.6987 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/2.362, allocations: 64.88 kB / 0.6988 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/2.362, allocations: 24.66 kB / 0.6988 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004632/2.362, allocations: 383.1 kB / 0.6991 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.362, allocations: 0 / 0.6991 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002857/2.365, allocations: 1.064 MB / 0.7002 GB, free: 6.949 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.009381/2.374, allocations: 3.128 MB / 0.7032 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002266/2.377, allocations: 1.076 MB / 0.7043 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/2.377, allocations: 4 kB / 0.7043 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/2.378, allocations: 476.3 kB / 0.7047 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/2.38, allocations: 431.5 kB / 0.7052 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/2.392, allocations: 6.545 MB / 0.7115 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/2.392, allocations: 401 kB / 0.7119 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003077/2.393, allocations: 73.62 kB / 0.712 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/2.393, allocations: 307.3 kB / 0.7123 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/2.393, allocations: 0 / 0.7123 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09984/2.493, allocations: 59.07 MB / 0.77 GB, free: 392 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/18.64, allocations: 8.062 kB / 0.77 GB, free: 384 kB / 0.6231 GB " [Timeout remaining time 641] (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 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.109742384054698] Failed to read output from testmodel.py, exit status != 0: 19.228139683022164 19.238269672 17.078886418 Calling exit ...