Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8815/0.8815, allocations: 153.8 MB / 170.9 MB, free: 13.7 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.Fluid.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0007495/0.0007495, allocations: 23.23 kB / 247 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07053/0.07128, allocations: 33.34 MB / 280.3 MB, free: 15.27 MB / 238.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.Fluid.Examples.SimpleExamples.TestBend): time 1.822/1.893, allocations: 307.5 MB / 0.5741 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5671/2.46, allocations: 194 MB / 0.7635 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/2.461, allocations: 12.91 kB / 0.7635 GB, free: 13.02 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:57:3-58:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:59:3-60:67:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003936/2.461, allocations: 209.4 kB / 0.7637 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004471/2.462, allocations: 283.7 kB / 0.764 GB, free: 12.91 MB / 0.5919 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.04056/2.502, allocations: 12.53 MB / 0.7762 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001198/2.503, allocations: 0.5425 MB / 0.7768 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/2.504, allocations: 239.5 kB / 0.777 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/2.504, allocations: 283.9 kB / 0.7773 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/2.505, allocations: 378.4 kB / 0.7776 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.526e-05/2.505, allocations: 40.19 kB / 0.7777 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04888/2.554, allocations: 21.17 MB / 0.7984 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/2.554, allocations: 215.2 kB / 0.7986 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004259/2.554, allocations: 333.3 kB / 0.7989 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03367/2.588, allocations: 10.82 MB / 0.8094 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/2.588, allocations: 0 / 0.8094 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/2.588, allocations: 3.938 kB / 0.8095 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.213e-05/2.588, allocations: 0 / 0.8095 GB, free: 2.684 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00657/2.595, allocations: 2.37 MB / 0.8118 GB, free: 256 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/2.595, allocations: 8.031 kB / 0.8118 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.177e-05/2.595, allocations: 17 kB / 0.8118 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.399e-05/2.595, allocations: 78.53 kB / 0.8119 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/2.595, allocations: 95.38 kB / 0.812 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/2.596, allocations: 0.5656 MB / 0.8125 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/2.596, allocations: 32.98 kB / 0.8125 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/2.596, allocations: 40 kB / 0.8126 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/2.597, allocations: 491.4 kB / 0.813 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/2.597, allocations: 3.984 kB / 0.8131 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/2.597, allocations: 27.92 kB / 0.8131 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/2.597, allocations: 8 kB / 0.8131 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/2.597, allocations: 415.3 kB / 0.8135 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/2.608, allocations: 6.719 MB / 0.82 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/2.608, allocations: 106.7 kB / 0.8201 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.237e-05/2.608, allocations: 40.83 kB / 0.8202 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3662/2.975, allocations: 165.9 MB / 0.9822 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/2.975, allocations: 38.5 kB / 0.9823 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/2.975, allocations: 0 / 0.9823 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.002329/2.977, allocations: 479.9 kB / 0.9827 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/2.977, allocations: 102.8 kB / 0.9828 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/2.979, allocations: 1.122 MB / 0.9839 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/2.979, allocations: 25.7 kB / 0.9839 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/2.979, allocations: 394.2 kB / 0.9843 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/2.979, allocations: 47.62 kB / 0.9844 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/2.979, allocations: 81.59 kB / 0.9844 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001992/2.979, allocations: 386.7 kB / 0.9848 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/2.98, allocations: 127.9 kB / 0.9849 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/2.98, allocations: 261.6 kB / 0.9852 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/2.98, allocations: 322.6 kB / 0.9855 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/2.98, allocations: 4 kB / 0.9855 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001502/2.982, allocations: 0.5577 MB / 0.986 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/2.982, allocations: 9.719 kB / 0.986 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/2.982, allocations: 4 kB / 0.986 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/2.983, allocations: 195.5 kB / 0.9862 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/2.984, allocations: 47.91 kB / 0.9863 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007006/2.984, allocations: 0.6287 MB / 0.9869 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/2.985, allocations: 51.66 kB / 0.9869 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/2.985, allocations: 13 kB / 0.987 GB, free: 8.57 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003363/2.985, allocations: 271.1 kB / 0.9872 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/2.985, allocations: 75.48 kB / 0.9873 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007684/2.986, allocations: 273.5 kB / 0.9875 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/2.986, allocations: 3.938 kB / 0.9875 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/2.986, allocations: 0 / 0.9875 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/2.986, allocations: 0 / 0.9875 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/2.988, allocations: 0.8566 MB / 0.9884 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/2.988, allocations: 4 kB / 0.9884 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/2.988, allocations: 3.984 kB / 0.9884 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/2.989, allocations: 158.7 kB / 0.9885 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/2.989, allocations: 8 kB / 0.9886 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006224/2.99, allocations: 0.6305 MB / 0.9892 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/2.99, allocations: 7.969 kB / 0.9892 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/2.991, allocations: 417.8 kB / 0.9896 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/2.991, allocations: 184.5 kB / 0.9898 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/2.991, allocations: 4 kB / 0.9898 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/2.992, allocations: 11.98 kB / 0.9898 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/2.992, allocations: 11.92 kB / 0.9898 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/2.992, allocations: 4 kB / 0.9898 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001062/2.993, allocations: 0.8191 MB / 0.9906 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/2.993, allocations: 4 kB / 0.9906 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004923/2.998, allocations: 1.671 MB / 0.9922 GB, free: 3.035 MB / 0.8106 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 (3): * Single equations (assignments): 2 * 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.009632/3.007, allocations: 3.276 MB / 0.9954 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007262/3.008, allocations: 243.7 kB / 0.9956 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/3.008, allocations: 0 / 0.9956 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/3.008, allocations: 49.03 kB / 0.9957 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/3.009, allocations: 97.22 kB / 0.9958 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/3.02, allocations: 6.422 MB / 1.002 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/3.021, allocations: 0.9454 MB / 1.003 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002219/3.021, allocations: 73.77 kB / 1.003 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/3.021, allocations: 216.6 kB / 1.003 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of SimCode: time 1.002e-06/3.021, allocations: 4 kB / 1.003 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3105/3.332, allocations: 60.83 MB / 1.063 GB, free: 413 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/19.36, allocations: 11.12 kB / 1.063 GB, free: 413 MB / 0.8262 GB " [Timeout remaining time 640] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.04055568698095] Failed to read output from testmodel.py, exit status != 0: 19.697840281005483 19.705362749 17.11522805 Calling exit ...