Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.8499/0.8499, allocations: 153.8 MB / 170.9 MB, free: 13.73 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.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004907, allocations: 21.09 kB / 247 MB, free: 14.87 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05867/0.05916, allocations: 33.34 MB / 280.4 MB, free: 15.11 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.Examples.SimpleExamples.TestCentrifugalPump13): time 1.745/1.804, allocations: 307.4 MB / 0.574 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03938/1.844, allocations: 31.47 MB / 0.6047 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/1.844, allocations: 0 / 0.6047 GB, free: 10.77 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119: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/Machines/CentrifugalPump.mo:120:3-122:37:writable] Warning: Connector C2 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/Machines/CentrifugalPump.mo:126:3-130:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52: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/Sink.mo:17:3-19:16: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.0004308/1.844, allocations: 139.3 kB / 0.6049 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/1.845, allocations: 109.2 kB / 0.605 GB, free: 10.52 MB / 494.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.02342/1.868, allocations: 8.623 MB / 0.6134 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007499/1.869, allocations: 446.4 kB / 0.6138 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/1.869, allocations: 164.5 kB / 0.614 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/1.869, allocations: 195.3 kB / 0.6142 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/1.87, allocations: 187.2 kB / 0.6143 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/1.87, allocations: 32 kB / 0.6144 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02925/1.899, allocations: 15.17 MB / 0.6292 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/1.899, allocations: 195.3 kB / 0.6294 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/1.9, allocations: 281.9 kB / 0.6296 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01922/1.919, allocations: 7.982 MB / 0.6374 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.919, allocations: 0 / 0.6374 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.214e-06/1.919, allocations: 0 / 0.6374 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.08e-05/1.919, allocations: 0 / 0.6374 GB, free: 9.23 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005059/1.924, allocations: 1.933 MB / 0.6393 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.924, allocations: 8.031 kB / 0.6393 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.619e-05/1.924, allocations: 8.656 kB / 0.6393 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.485e-05/1.924, allocations: 70.53 kB / 0.6394 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/1.924, allocations: 95.33 kB / 0.6395 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/1.925, allocations: 431.2 kB / 0.6399 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/1.925, allocations: 24.66 kB / 0.6399 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/1.925, allocations: 28 kB / 0.64 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/1.926, allocations: 486.5 kB / 0.6404 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.926, allocations: 0 / 0.6404 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/1.926, allocations: 12 kB / 0.6404 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/1.926, allocations: 11.94 kB / 0.6404 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/1.927, allocations: 0.4902 MB / 0.6409 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/1.929, allocations: 1.844 MB / 0.6427 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.93, allocations: 0.5817 MB / 0.6433 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004112/1.931, allocations: 196.8 kB / 0.6435 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09367/2.024, allocations: 47.06 MB / 0.6894 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/2.024, allocations: 38.56 kB / 0.6895 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/2.024, allocations: 0 / 0.6895 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.003411/2.028, allocations: 1.054 MB / 0.6905 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/2.028, allocations: 55.41 kB / 0.6906 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/2.029, allocations: 0.8256 MB / 0.6914 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/2.029, allocations: 33.7 kB / 0.6914 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/2.029, allocations: 396.5 kB / 0.6918 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/2.03, allocations: 118.9 kB / 0.6919 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/2.03, allocations: 78 kB / 0.692 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001545/2.03, allocations: 322 kB / 0.6923 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/2.03, allocations: 212.6 kB / 0.6925 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/2.031, allocations: 265.6 kB / 0.6927 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009213/2.032, allocations: 472.8 kB / 0.6932 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/2.032, allocations: 3.938 kB / 0.6932 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001451/2.033, allocations: 0.6851 MB / 0.6938 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/2.033, allocations: 8 kB / 0.6939 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/2.033, allocations: 0 / 0.6939 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/2.037, allocations: 0.6486 MB / 0.6945 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/2.038, allocations: 55.89 kB / 0.6945 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/2.039, allocations: 0.7747 MB / 0.6953 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/2.039, allocations: 67.58 kB / 0.6954 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/2.039, allocations: 11.94 kB / 0.6954 GB, free: 7.367 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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 {(4,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003595/2.04, allocations: 245.7 kB / 0.6956 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/2.04, allocations: 83.44 kB / 0.6957 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/2.042, allocations: 0.7873 MB / 0.6965 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001185/2.043, allocations: 0.5856 MB / 0.697 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/2.043, allocations: 3.938 kB / 0.697 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/2.043, allocations: 0 / 0.697 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/2.045, allocations: 1.442 MB / 0.6984 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/2.045, allocations: 0 / 0.6984 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/2.046, allocations: 63.84 kB / 0.6985 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/2.048, allocations: 387.8 kB / 0.6989 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/2.048, allocations: 7.984 kB / 0.6989 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/2.049, allocations: 0.806 MB / 0.6997 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/2.049, allocations: 0 / 0.6997 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/2.05, allocations: 0.763 MB / 0.7004 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/2.05, allocations: 188.5 kB / 0.7006 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/2.051, allocations: 16 kB / 0.7006 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/2.051, allocations: 27.95 kB / 0.7006 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/2.051, allocations: 23.91 kB / 0.7007 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/2.051, allocations: 8 kB / 0.7007 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008057/2.052, allocations: 0.5849 MB / 0.7012 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/2.052, allocations: 0 / 0.7012 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003429/2.055, allocations: 1.169 MB / 0.7024 GB, free: 44 kB / 0.5762 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 (24): * Single equations (assignments): 23 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007836/2.063, allocations: 2.831 MB / 0.7051 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001671/2.065, allocations: 0.5686 MB / 0.7057 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/2.065, allocations: 0 / 0.7057 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007872/2.066, allocations: 305.5 kB / 0.706 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/2.066, allocations: 99.11 kB / 0.7061 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/2.078, allocations: 6.716 MB / 0.7126 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/2.079, allocations: 0.9809 MB / 0.7136 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001913/2.079, allocations: 46.95 kB / 0.7136 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/2.079, allocations: 259.3 kB / 0.7139 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/2.079, allocations: 0 / 0.7139 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.264/2.343, allocations: 51.55 MB / 0.7642 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/17.61, allocations: 14.17 kB / 0.7643 GB, free: 182.8 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.7069923299714] Failed to read output from testmodel.py, exit status != 0: 17.944166917994153 17.953111994 16.032268931 Calling exit ...