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.8134/0.8134, allocations: 153.8 MB / 172.7 MB, free: 4.863 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.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 0.0005104/0.0005104, allocations: 15.98 kB / 249.8 MB, free: 4.371 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1705, allocations: 33.36 MB / 283.2 MB, free: 1.734 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.TestBend): time 1.781/1.952, allocations: 307.7 MB / 0.577 GB, free: 17.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03132/1.983, allocations: 31.1 MB / 0.6074 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003415/1.984, allocations: 2.5 kB / 0.6074 GB, free: 2.227 MB / 478.1 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.000605/1.984, allocations: 271.2 kB / 0.6076 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004091/1.985, allocations: 280.8 kB / 0.6079 GB, free: 2.066 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. [/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.02532/2.01, allocations: 9.93 MB / 0.6176 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008822/2.011, allocations: 0.5027 MB / 0.6181 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/2.011, allocations: 160.5 kB / 0.6182 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/2.011, allocations: 262.8 kB / 0.6185 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/2.012, allocations: 299.1 kB / 0.6188 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/2.012, allocations: 24 kB / 0.6188 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03307/2.045, allocations: 16.91 MB / 0.6353 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/2.045, allocations: 171.4 kB / 0.6355 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002757/2.046, allocations: 214.6 kB / 0.6357 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02002/2.066, allocations: 8.906 MB / 0.6444 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/2.066, allocations: 0 / 0.6444 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/2.066, allocations: 0 / 0.6444 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.017e-05/2.066, allocations: 0.9375 kB / 0.6444 GB, free: 15.99 MB / 0.5137 GB 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.004511/2.07, allocations: 1.81 MB / 0.6461 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/2.07, allocations: 16.03 kB / 0.6462 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.985e-05/2.07, allocations: 66.53 kB / 0.6462 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/2.07, allocations: 79.47 kB / 0.6463 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/2.071, allocations: 432.9 kB / 0.6467 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/2.071, allocations: 21.44 kB / 0.6467 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/2.071, allocations: 24 kB / 0.6467 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/2.072, allocations: 488.2 kB / 0.6472 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/2.072, allocations: 4.938 kB / 0.6472 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/2.072, allocations: 8 kB / 0.6472 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/2.072, allocations: 15.98 kB / 0.6472 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/2.072, allocations: 354.2 kB / 0.6476 GB, free: 12.59 MB / 0.5137 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.03611/2.108, allocations: 11.43 MB / 0.6587 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/2.109, allocations: 150.6 kB / 0.6589 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/2.109, allocations: 84.83 kB / 0.659 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1485/2.258, allocations: 43.61 MB / 0.7015 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/2.258, allocations: 39.06 kB / 0.7016 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.485e-06/2.258, allocations: 0 / 0.7016 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.00177/2.259, allocations: 0.5147 MB / 0.7021 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/2.259, allocations: 110.8 kB / 0.7022 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/2.261, allocations: 1.016 MB / 0.7032 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/2.261, allocations: 33.7 kB / 0.7032 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/2.261, allocations: 296.5 kB / 0.7035 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/2.261, allocations: 130.8 kB / 0.7036 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/2.261, allocations: 65.64 kB / 0.7037 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002186/2.261, allocations: 386.8 kB / 0.7041 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/2.262, allocations: 152.4 kB / 0.7042 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/2.262, allocations: 294.5 kB / 0.7045 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/2.262, allocations: 345 kB / 0.7048 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/2.262, allocations: 5.75 kB / 0.7048 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008142/2.263, allocations: 0.5346 MB / 0.7053 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/2.263, allocations: 7.938 kB / 0.7053 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/2.263, allocations: 4 kB / 0.7054 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/2.265, allocations: 218.5 kB / 0.7056 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/2.265, allocations: 27.94 kB / 0.7056 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007194/2.266, allocations: 0.6733 MB / 0.7062 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/2.266, allocations: 43.66 kB / 0.7063 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/2.266, allocations: 8 kB / 0.7063 GB, free: 160 kB / 0.5606 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.0003079/2.266, allocations: 261.6 kB / 0.7065 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/2.266, allocations: 70.12 kB / 0.7066 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009008/2.267, allocations: 0.6951 MB / 0.7073 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003664/2.268, allocations: 247 kB / 0.7075 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.268, allocations: 0 / 0.7075 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/2.268, allocations: 3.938 kB / 0.7075 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/2.269, allocations: 0.8764 MB / 0.7084 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/2.269, allocations: 4 kB / 0.7084 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/2.269, allocations: 20.86 kB / 0.7084 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008715/2.27, allocations: 175.2 kB / 0.7086 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/2.27, allocations: 8 kB / 0.7086 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006788/2.271, allocations: 0.7084 MB / 0.7093 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/2.271, allocations: 3.938 kB / 0.7093 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/2.271, allocations: 412.7 kB / 0.7097 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/2.271, allocations: 95.48 kB / 0.7098 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/2.271, allocations: 13.14 kB / 0.7098 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/2.272, allocations: 11.98 kB / 0.7098 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/2.272, allocations: 16.44 kB / 0.7098 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/2.272, allocations: 8 kB / 0.7098 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001023/2.273, allocations: 0.8114 MB / 0.7106 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.273, allocations: 0 / 0.7106 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003263/2.276, allocations: 1.274 MB / 0.7118 GB, free: 10.28 MB / 0.5762 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.006186/2.282, allocations: 2.636 MB / 0.7144 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008008/2.283, allocations: 336.4 kB / 0.7147 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/2.283, allocations: 0 / 0.7147 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/2.283, allocations: 110.1 kB / 0.7148 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/2.284, allocations: 158.9 kB / 0.715 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008997/2.293, allocations: 6.15 MB / 0.721 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/2.293, allocations: 339 kB / 0.7213 GB, free: 416 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001841/2.294, allocations: 62.92 kB / 0.7214 GB, free: 356 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/2.294, allocations: 223.4 kB / 0.7216 GB, free: 132 kB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/2.294, allocations: 4 kB / 0.7216 GB, free: 128 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/2.396, allocations: 55.08 MB / 0.7754 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/17.53, allocations: 6.406 kB / 0.7754 GB, free: 9.766 MB / 0.6387 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.476450636982918] Failed to read output from testmodel.py, exit status != 0: 18.03001609677449 18.042043696 15.973529889 Calling exit ...