Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.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.8243/0.8243, allocations: 153.8 MB / 172.7 MB, free: 4.867 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.TestCentrifugalPump8,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005211/0.0005211, allocations: 19.97 kB / 249.8 MB, free: 4.352 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1656, allocations: 33.35 MB / 283.2 MB, free: 1.719 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.TestCentrifugalPump8): time 1.808/1.973, allocations: 307.7 MB / 0.577 GB, free: 17.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02852/2.002, allocations: 27.72 MB / 0.6041 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003304/2.002, allocations: 6.094 kB / 0.6041 GB, free: 4.43 MB / 478.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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:11:3-15:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004116/2.003, allocations: 106.6 kB / 0.6042 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/2.003, allocations: 125.2 kB / 0.6043 GB, free: 4.305 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.02136/2.024, allocations: 8.578 MB / 0.6127 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007145/2.025, allocations: 450.4 kB / 0.6131 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/2.025, allocations: 160.2 kB / 0.6133 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/2.026, allocations: 199.5 kB / 0.6135 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/2.026, allocations: 166.9 kB / 0.6136 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/2.026, allocations: 31.16 kB / 0.6136 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02887/2.055, allocations: 14.27 MB / 0.6276 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002539/2.055, allocations: 189.5 kB / 0.6278 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002991/2.055, allocations: 222.4 kB / 0.628 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01802/2.073, allocations: 7.978 MB / 0.6358 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/2.073, allocations: 0.6562 kB / 0.6358 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.374e-06/2.073, allocations: 0 / 0.6358 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.074e-05/2.073, allocations: 0 / 0.6358 GB, free: 8.773 MB / 0.4981 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.004449/2.078, allocations: 1.83 MB / 0.6376 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/2.078, allocations: 12.03 kB / 0.6376 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.207e-05/2.078, allocations: 75.47 kB / 0.6376 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/2.078, allocations: 95.34 kB / 0.6377 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/2.078, allocations: 370.3 kB / 0.6381 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/2.078, allocations: 21.28 kB / 0.6381 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/2.079, allocations: 37.69 kB / 0.6381 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/2.079, allocations: 0.5732 MB / 0.6387 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/2.079, allocations: 3.938 kB / 0.6387 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/2.079, allocations: 12 kB / 0.6387 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/2.079, allocations: 8 kB / 0.6387 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/2.081, allocations: 0.6115 MB / 0.6393 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/2.083, allocations: 2.046 MB / 0.6413 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/2.084, allocations: 0.7652 MB / 0.6421 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/2.084, allocations: 276.7 kB / 0.6423 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07646/2.161, allocations: 22.61 MB / 0.6644 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/2.161, allocations: 44.52 kB / 0.6644 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.725e-06/2.161, allocations: 0 / 0.6644 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.00435/2.165, allocations: 1.466 MB / 0.6659 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/2.165, allocations: 60.25 kB / 0.6659 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/2.166, allocations: 0.814 MB / 0.6667 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/2.166, allocations: 29.7 kB / 0.6668 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/2.167, allocations: 368.8 kB / 0.6671 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/2.167, allocations: 138.8 kB / 0.6672 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/2.167, allocations: 65.69 kB / 0.6673 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001291/2.167, allocations: 321.9 kB / 0.6676 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/2.167, allocations: 259.9 kB / 0.6679 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/2.168, allocations: 317.6 kB / 0.6682 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/2.169, allocations: 0.5731 MB / 0.6687 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/2.169, allocations: 4 kB / 0.6687 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001544/2.17, allocations: 0.887 MB / 0.6696 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/2.17, allocations: 11.94 kB / 0.6696 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/2.17, allocations: 0 / 0.6696 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004162/2.175, allocations: 0.8004 MB / 0.6704 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/2.175, allocations: 39.92 kB / 0.6704 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/2.176, allocations: 1.267 MB / 0.6717 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/2.177, allocations: 48.64 kB / 0.6717 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/2.177, allocations: 19.98 kB / 0.6717 GB, free: 3.613 MB / 0.5294 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 (sink.C.a,sourcePQ.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 (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003268/2.177, allocations: 251 kB / 0.672 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/2.177, allocations: 87.39 kB / 0.6721 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/2.179, allocations: 1.029 MB / 0.6731 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001439/2.181, allocations: 0.8573 MB / 0.6739 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/2.181, allocations: 0 / 0.6739 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/2.181, allocations: 5.578 kB / 0.6739 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/2.183, allocations: 1.818 MB / 0.6757 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/2.183, allocations: 0 / 0.6757 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/2.184, allocations: 41.98 kB / 0.6757 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/2.186, allocations: 0.5538 MB / 0.6763 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/2.186, allocations: 8 kB / 0.6763 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/2.187, allocations: 1.306 MB / 0.6775 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/2.187, allocations: 4.031 kB / 0.6775 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/2.189, allocations: 1.04 MB / 0.6786 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/2.189, allocations: 111.2 kB / 0.6787 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/2.19, allocations: 15.94 kB / 0.6787 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/2.19, allocations: 15.98 kB / 0.6787 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/2.19, allocations: 23.95 kB / 0.6787 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/2.19, allocations: 12 kB / 0.6787 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007957/2.191, allocations: 0.5692 MB / 0.6793 GB, free: 11.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/2.191, allocations: 0 / 0.6793 GB, free: 11.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00299/2.194, allocations: 1.15 MB / 0.6804 GB, free: 10.6 MB / 0.545 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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007206/2.201, allocations: 3.108 MB / 0.6834 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001582/2.203, allocations: 0.7057 MB / 0.6841 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.203, allocations: 0 / 0.6841 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007984/2.203, allocations: 384.4 kB / 0.6845 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/2.204, allocations: 100.1 kB / 0.6846 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/2.216, allocations: 7.679 MB / 0.6921 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/2.216, allocations: 385.4 kB / 0.6925 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001318/2.216, allocations: 24.48 kB / 0.6925 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/2.216, allocations: 275.3 kB / 0.6927 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of SimCode: time 1.213e-06/2.216, allocations: 0 / 0.6927 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09831/2.315, allocations: 51.77 MB / 0.7433 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/16.84, allocations: 4.062 kB / 0.7433 GB, free: 10.75 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.849619519896805] Failed to read output from testmodel.py, exit status != 0: 17.156484310980886 17.392315981 15.316402948 Calling exit ...