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.7997/0.7997, allocations: 153.8 MB / 173.5 MB, free: 4.961 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.0004918/0.0004918, allocations: 19.97 kB / 250.6 MB, free: 4.457 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1636, allocations: 33.36 MB / 284 MB, free: 1.836 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.764/1.928, allocations: 308.9 MB / 0.579 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02379/1.951, allocations: 23.17 MB / 0.6016 GB, free: 5.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006138/1.952, allocations: 5.469 kB / 0.6016 GB, free: 5.57 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.0005366/1.953, allocations: 209.9 kB / 0.6018 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006104/1.953, allocations: 318.2 kB / 0.6021 GB, free: 5.246 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.01873/1.972, allocations: 7.333 MB / 0.6093 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/1.973, allocations: 0.9857 MB / 0.6103 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/1.974, allocations: 242.7 kB / 0.6105 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004611/1.974, allocations: 386.6 kB / 0.6109 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/1.975, allocations: 328.9 kB / 0.6112 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.405e-05/1.975, allocations: 50.09 kB / 0.6112 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03161/2.006, allocations: 15.41 MB / 0.6263 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/2.006, allocations: 127.5 kB / 0.6264 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006509/2.007, allocations: 362.2 kB / 0.6267 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01703/2.024, allocations: 6.952 MB / 0.6335 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/2.024, allocations: 0 / 0.6335 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/2.024, allocations: 1.344 kB / 0.6335 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.394e-05/2.024, allocations: 0 / 0.6335 GB, free: 12.17 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.005032/2.029, allocations: 1.523 MB / 0.635 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/2.029, allocations: 8.031 kB / 0.635 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.688e-05/2.029, allocations: 17.19 kB / 0.6351 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/2.029, allocations: 120.9 kB / 0.6352 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/2.03, allocations: 73.84 kB / 0.6352 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/2.03, allocations: 280.4 kB / 0.6355 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/2.03, allocations: 207.1 kB / 0.6357 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/2.03, allocations: 48.81 kB / 0.6357 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/2.032, allocations: 0.7918 MB / 0.6365 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/2.032, allocations: 1.938 kB / 0.6365 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/2.032, allocations: 16 kB / 0.6365 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/2.032, allocations: 45.08 kB / 0.6366 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/2.033, allocations: 0.5858 MB / 0.6372 GB, free: 8.344 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.07316/2.106, allocations: 22.9 MB / 0.6595 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/2.108, allocations: 469.2 kB / 0.66 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005924/2.108, allocations: 277 kB / 0.6602 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07437/2.182, allocations: 21.1 MB / 0.6808 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/2.183, allocations: 34.55 kB / 0.6809 GB, free: 11.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=126): time 2.985e-06/2.183, allocations: 4 kB / 0.6809 GB, free: 11.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=126): time 0.01803/2.201, allocations: 3.184 MB / 0.684 GB, free: 8.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/2.201, allocations: 59.39 kB / 0.684 GB, free: 7.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/2.201, allocations: 332.5 kB / 0.6844 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/2.201, allocations: 37.64 kB / 0.6844 GB, free: 7.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/2.201, allocations: 230.6 kB / 0.6846 GB, free: 7.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/2.202, allocations: 428.1 kB / 0.685 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/2.202, allocations: 138 kB / 0.6851 GB, free: 6.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001935/2.202, allocations: 370.8 kB / 0.6855 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006089/2.203, allocations: 281.6 kB / 0.6858 GB, free: 6.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/2.204, allocations: 393.2 kB / 0.6861 GB, free: 5.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/2.205, allocations: 0.7437 MB / 0.6869 GB, free: 4.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/2.205, allocations: 0.75 kB / 0.6869 GB, free: 4.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004278/2.209, allocations: 1.233 MB / 0.6881 GB, free: 3.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/2.209, allocations: 8 kB / 0.6881 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/2.209, allocations: 4 kB / 0.6881 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004014/2.213, allocations: 1.385 MB / 0.6894 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/2.213, allocations: 23.92 kB / 0.6895 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/2.216, allocations: 1.391 MB / 0.6908 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/2.216, allocations: 91.28 kB / 0.6909 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/2.216, allocations: 20 kB / 0.6909 GB, free: 0.7812 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.0002868/2.217, allocations: 182.6 kB / 0.6911 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/2.217, allocations: 59.58 kB / 0.6912 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/2.221, allocations: 3.878 MB / 0.6949 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002845/2.224, allocations: 1.255 MB / 0.6962 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/2.224, allocations: 0 / 0.6962 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/2.224, allocations: 16.36 kB / 0.6962 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/2.231, allocations: 2.81 MB / 0.6989 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/2.231, allocations: 1.375 kB / 0.6989 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/2.231, allocations: 92.75 kB / 0.699 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/2.234, allocations: 0.8708 MB / 0.6999 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/2.234, allocations: 19.98 kB / 0.6999 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/2.236, allocations: 1.507 MB / 0.7014 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.236, allocations: 0 / 0.7014 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/2.241, allocations: 1.48 MB / 0.7028 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/2.241, allocations: 81.05 kB / 0.7029 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/2.242, allocations: 35.77 kB / 0.7029 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/2.242, allocations: 33.09 kB / 0.703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/2.242, allocations: 54.48 kB / 0.703 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/2.242, allocations: 23.98 kB / 0.703 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005501/2.243, allocations: 395.1 kB / 0.7034 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/2.243, allocations: 0 / 0.7034 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003107/2.246, allocations: 1.064 MB / 0.7044 GB, free: 2.699 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.01029/2.256, allocations: 3.132 MB / 0.7075 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002609/2.259, allocations: 1.079 MB / 0.7086 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/2.259, allocations: 0 / 0.7086 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/2.26, allocations: 480.2 kB / 0.709 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/2.263, allocations: 437.9 kB / 0.7094 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/2.277, allocations: 6.551 MB / 0.7158 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/2.278, allocations: 0.9909 MB / 0.7168 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003475/2.278, allocations: 72.06 kB / 0.7169 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/2.278, allocations: 303.3 kB / 0.7172 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/2.278, allocations: 0 / 0.7172 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/2.392, allocations: 60.8 MB / 0.7765 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/18.44, allocations: 12 kB / 0.7765 GB, free: 9.617 MB / 0.6387 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: 22.233249448006973] Failed to read output from testmodel.py, exit status != 0: 18.98212271707598 18.995747664 16.968425129 Calling exit ...