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.5894/0.5894, allocations: 120.4 MB / 139.5 MB, free: 13 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.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 216.7 MB, free: 8.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.162e-05, allocations: 4.391 kB / 216.7 MB, free: 8.59 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.TestCentrifugalPump13): time 1.044/1.044, allocations: 254.4 MB / 471.1 MB, free: 8.781 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2883/1.332, allocations: 27.7 MB / 498.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/1.332, allocations: 4.594 kB / 498.8 MB, free: 1.004 MB / 442.7 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.0004102/1.333, allocations: 109.8 kB / 498.9 MB, free: 1.004 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/1.333, allocations: 120.8 kB / 499 MB, free: 1.004 MB / 442.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.01963/1.353, allocations: 8.66 MB / 0.4958 GB, free: 268 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006975/1.353, allocations: 457.6 kB / 0.4962 GB, free: 116 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/1.354, allocations: 168.2 kB / 0.4964 GB, free: 52 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/1.354, allocations: 275.6 kB / 0.4967 GB, free: 0 / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/1.354, allocations: 148.7 kB / 0.4968 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/1.354, allocations: 31.62 kB / 0.4968 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02303/1.377, allocations: 14.31 MB / 0.5108 GB, free: 8.102 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002826/1.378, allocations: 194.7 kB / 0.511 GB, free: 7.918 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/1.378, allocations: 154.5 kB / 0.5111 GB, free: 7.773 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01867/1.396, allocations: 10.05 MB / 0.5209 GB, free: 14.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.396, allocations: 1.375 kB / 0.5209 GB, free: 14.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.396, allocations: 3.938 kB / 0.5209 GB, free: 14.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/1.396, allocations: 0 / 0.5209 GB, free: 14.19 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004008/1.4, allocations: 1.833 MB / 0.5227 GB, free: 12.33 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/1.4, allocations: 16.81 kB / 0.5227 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/1.401, allocations: 66.53 kB / 0.5228 GB, free: 12.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/1.401, allocations: 97.02 kB / 0.5229 GB, free: 12.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/1.401, allocations: 364.9 kB / 0.5233 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/1.401, allocations: 29.91 kB / 0.5233 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/1.401, allocations: 24 kB / 0.5233 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/1.402, allocations: 482.8 kB / 0.5238 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.402, allocations: 3.75 kB / 0.5238 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/1.402, allocations: 16.47 kB / 0.5238 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/1.402, allocations: 13.83 kB / 0.5238 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/1.402, allocations: 495.1 kB / 0.5243 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/1.404, allocations: 1.548 MB / 0.5258 GB, free: 9.164 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/1.405, allocations: 0.4981 MB / 0.5263 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/1.405, allocations: 198.2 kB / 0.5265 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03789/1.443, allocations: 22.62 MB / 0.5485 GB, free: 2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/1.443, allocations: 34.56 kB / 0.5486 GB, free: 1.957 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.926e-06/1.443, allocations: 0 / 0.5486 GB, free: 1.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.001882/1.445, allocations: 0.9734 MB / 0.5495 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/1.445, allocations: 55.41 kB / 0.5496 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/1.445, allocations: 0.8257 MB / 0.5504 GB, free: 80 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/1.445, allocations: 33.7 kB / 0.5504 GB, free: 40 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/1.446, allocations: 394.5 kB / 0.5508 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/1.446, allocations: 121.7 kB / 0.5509 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/1.446, allocations: 74 kB / 0.551 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/1.446, allocations: 325.9 kB / 0.5513 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/1.446, allocations: 216.7 kB / 0.5515 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/1.446, allocations: 265 kB / 0.5518 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/1.447, allocations: 473.8 kB / 0.5522 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.447, allocations: 0 / 0.5522 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007626/1.448, allocations: 0.686 MB / 0.5529 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.448, allocations: 4 kB / 0.5529 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.448, allocations: 4 kB / 0.5529 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/1.45, allocations: 0.6471 MB / 0.5535 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/1.45, allocations: 55.05 kB / 0.5536 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000604/1.451, allocations: 0.775 MB / 0.5543 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/1.451, allocations: 63.69 kB / 0.5544 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/1.451, allocations: 8 kB / 0.5544 GB, free: 11.92 MB / 0.4948 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.0002269/1.451, allocations: 253.1 kB / 0.5546 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/1.451, allocations: 84.84 kB / 0.5547 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/1.452, allocations: 0.7905 MB / 0.5555 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006152/1.453, allocations: 0.594 MB / 0.5561 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.453, allocations: 0.5625 kB / 0.5561 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.453, allocations: 0 / 0.5561 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/1.454, allocations: 1.379 MB / 0.5574 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.454, allocations: 0 / 0.5574 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/1.454, allocations: 49.62 kB / 0.5575 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009435/1.455, allocations: 395.7 kB / 0.5578 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/1.455, allocations: 11.98 kB / 0.5579 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005814/1.456, allocations: 0.8055 MB / 0.5586 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.456, allocations: 0 / 0.5586 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/1.456, allocations: 0.771 MB / 0.5594 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/1.457, allocations: 111.2 kB / 0.5595 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/1.457, allocations: 5.219 kB / 0.5595 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/1.457, allocations: 23.98 kB / 0.5595 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/1.457, allocations: 19.95 kB / 0.5595 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/1.457, allocations: 18.98 kB / 0.5596 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004248/1.457, allocations: 0.5809 MB / 0.5601 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.457, allocations: 0 / 0.5601 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002995/1.46, allocations: 1.165 MB / 0.5613 GB, free: 4.801 MB / 0.4948 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.004636/1.465, allocations: 2.995 MB / 0.5642 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008748/1.466, allocations: 0.5797 MB / 0.5648 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.466, allocations: 0 / 0.5648 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/1.466, allocations: 296.3 kB / 0.565 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/1.467, allocations: 97.23 kB / 0.5651 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006923/1.473, allocations: 6.686 MB / 0.5717 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/1.474, allocations: 389.4 kB / 0.572 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001354/1.474, allocations: 43.25 kB / 0.5721 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/1.474, allocations: 252.4 kB / 0.5723 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/1.474, allocations: 0 / 0.5723 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0764/1.55, allocations: 51.82 MB / 0.6229 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/12.11, allocations: 2.625 kB / 0.6229 GB, free: 6.066 MB / 0.5573 GB " [Timeout remaining time 647] (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: 13.643450425937772] Failed to read output from testmodel.py, exit status != 0: 12.501826705411077 12.394585041 10.996222287 Calling exit ...