Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.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.585/0.585, allocations: 120.4 MB / 139.5 MB, free: 12.99 MB / 138.7 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.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.697e-06/3.697e-06, allocations: 0 / 216.7 MB, free: 8.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.88e-05, allocations: 2.281 kB / 216.7 MB, free: 8.605 MB / 202.7 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.TestBend): time 1.05/1.051, allocations: 254.4 MB / 471.1 MB, free: 9.535 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0296/1.08, allocations: 31.1 MB / 0.4904 GB, free: 10.31 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/1.08, allocations: 0 / 0.4904 GB, free: 10.31 MB / 458.7 MB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Bend.mo:55:3-57:42:writable] Warning: Connector C1 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/PressureLosses/Bend.mo:58:3-60:43:writable] Warning: Connector C2 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.0005943/1.081, allocations: 267 kB / 0.4907 GB, free: 10.05 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/1.081, allocations: 298.5 kB / 0.491 GB, free: 9.758 MB / 458.7 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der 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.02175/1.103, allocations: 10.03 MB / 0.5008 GB, free: 15.68 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009233/1.104, allocations: 0.5063 MB / 0.5013 GB, free: 15.18 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/1.104, allocations: 160.6 kB / 0.5014 GB, free: 15.02 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/1.105, allocations: 331.1 kB / 0.5017 GB, free: 14.7 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/1.105, allocations: 279.5 kB / 0.502 GB, free: 14.43 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/1.105, allocations: 24 kB / 0.502 GB, free: 14.4 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3084/1.413, allocations: 16.93 MB / 0.5186 GB, free: 15.09 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002553/1.414, allocations: 180.5 kB / 0.5187 GB, free: 15.09 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00029/1.414, allocations: 150 kB / 0.5189 GB, free: 15.09 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02403/1.438, allocations: 11.27 MB / 0.5299 GB, free: 14.88 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/1.438, allocations: 1.812 kB / 0.5299 GB, free: 14.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.438, allocations: 0 / 0.5299 GB, free: 14.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.095e-05/1.438, allocations: 0 / 0.5299 GB, free: 14.88 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0074/1.445, allocations: 1.804 MB / 0.5317 GB, free: 13.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.445, allocations: 15.59 kB / 0.5317 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/1.445, allocations: 67.31 kB / 0.5317 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/1.446, allocations: 77.8 kB / 0.5318 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/1.446, allocations: 439.7 kB / 0.5322 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/1.446, allocations: 17.28 kB / 0.5322 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/1.446, allocations: 23.88 kB / 0.5323 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/1.447, allocations: 493.7 kB / 0.5327 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.447, allocations: 0 / 0.5327 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/1.447, allocations: 8.75 kB / 0.5327 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/1.447, allocations: 20.95 kB / 0.5328 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/1.447, allocations: 341.2 kB / 0.5331 GB, free: 13.35 MB / 474.7 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.01963/1.467, allocations: 11.43 MB / 0.5442 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/1.467, allocations: 155.4 kB / 0.5444 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/1.467, allocations: 81.48 kB / 0.5445 GB, free: 11.53 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0742/1.541, allocations: 43.62 MB / 0.5871 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/1.541, allocations: 34.56 kB / 0.5871 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=38): time 3.567e-06/1.541, allocations: 0 / 0.5871 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38): time 0.001367/1.543, allocations: 0.5197 MB / 0.5876 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/1.543, allocations: 110.8 kB / 0.5877 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.544, allocations: 1.004 MB / 0.5887 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/1.544, allocations: 32.33 kB / 0.5887 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/1.544, allocations: 302.4 kB / 0.589 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-05/1.544, allocations: 135.1 kB / 0.5891 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/1.544, allocations: 65.64 kB / 0.5892 GB, free: 492 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.545, allocations: 384.8 kB / 0.5896 GB, free: 100 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/1.545, allocations: 152.5 kB / 0.5897 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/1.545, allocations: 295.9 kB / 0.59 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/1.545, allocations: 348.2 kB / 0.5903 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.545, allocations: 1.5 kB / 0.5903 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005815/1.546, allocations: 0.5335 MB / 0.5909 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.546, allocations: 8 kB / 0.5909 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.546, allocations: 3.656 kB / 0.5909 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008936/1.547, allocations: 220.6 kB / 0.5911 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/1.547, allocations: 19.98 kB / 0.5911 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005103/1.547, allocations: 0.6744 MB / 0.5918 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/1.548, allocations: 44.25 kB / 0.5918 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/1.548, allocations: 12 kB / 0.5918 GB, free: 13.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002459/1.548, allocations: 255.5 kB / 0.5921 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/1.548, allocations: 67.53 kB / 0.5921 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/1.549, allocations: 0.6907 MB / 0.5928 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002563/1.549, allocations: 250.4 kB / 0.593 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.549, allocations: 0 / 0.593 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.549, allocations: 4.5 kB / 0.593 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009689/1.55, allocations: 0.8852 MB / 0.5939 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.55, allocations: 1.25 kB / 0.5939 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/1.55, allocations: 23.45 kB / 0.5939 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/1.55, allocations: 177.3 kB / 0.5941 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/1.55, allocations: 4.031 kB / 0.5941 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004317/1.551, allocations: 0.7127 MB / 0.5948 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.551, allocations: 0 / 0.5948 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/1.551, allocations: 408.1 kB / 0.5952 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/1.551, allocations: 95.48 kB / 0.5953 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/1.551, allocations: 7.938 kB / 0.5953 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/1.551, allocations: 25.55 kB / 0.5953 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/1.551, allocations: 14.56 kB / 0.5953 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/1.551, allocations: 17.69 kB / 0.5953 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006553/1.552, allocations: 0.8075 MB / 0.5961 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/1.552, allocations: 0 / 0.5961 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004927/1.557, allocations: 1.27 MB / 0.5974 GB, free: 7.895 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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 {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00646/1.563, allocations: 2.8 MB / 0.6001 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006848/1.564, allocations: 343.4 kB / 0.6004 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.564, allocations: 0 / 0.6004 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/1.564, allocations: 98 kB / 0.6005 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/1.565, allocations: 155.4 kB / 0.6007 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/1.572, allocations: 6.147 MB / 0.6067 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.573, allocations: 337.9 kB / 0.607 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001549/1.573, allocations: 62.02 kB / 0.6071 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/1.573, allocations: 232.4 kB / 0.6073 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of SimCode: time 2.003e-06/1.573, allocations: 4 kB / 0.6073 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08441/1.657, allocations: 55.37 MB / 0.6614 GB, free: 6.852 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.9, allocations: 9.547 kB / 0.6614 GB, free: 6.844 MB / 0.573 GB " [Timeout remaining time 647] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.520636634901166] Failed to read output from testmodel.py, exit status != 0: 13.308773243799806 13.205147004 11.765292207 Calling exit ...