Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.5579/0.5579, 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.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 216.7 MB, free: 8.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/2.063e-05, allocations: 3.188 kB / 216.7 MB, free: 8.625 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.TestStaticCentrifugalPump1): time 0.9337/0.9337, allocations: 254.4 MB / 471.1 MB, free: 8.758 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2101/1.144, allocations: 30.52 MB / 0.4899 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/1.144, allocations: 3.688 kB / 0.4899 GB, free: 1.016 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62: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/StaticCentrifugalPump.mo:63:3-65: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0002881/1.144, allocations: 108.2 kB / 0.49 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/1.144, allocations: 131.7 kB / 0.4901 GB, free: 1.008 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.01633/1.161, allocations: 9.792 MB / 0.4997 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008011/1.161, allocations: 419.4 kB / 0.5001 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/1.162, allocations: 114.5 kB / 0.5002 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/1.162, allocations: 249.2 kB / 0.5004 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/1.162, allocations: 101.8 kB / 0.5005 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/1.162, allocations: 22.16 kB / 0.5005 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02/1.182, allocations: 16.77 MB / 0.5169 GB, free: 3.117 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/1.182, allocations: 62.02 kB / 0.517 GB, free: 3.062 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/1.182, allocations: 101.4 kB / 0.517 GB, free: 2.969 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/1.197, allocations: 10.85 MB / 0.5276 GB, free: 8.621 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.197, allocations: 0 / 0.5276 GB, free: 8.621 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.197, allocations: 0 / 0.5276 GB, free: 8.621 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.293e-06/1.197, allocations: 0 / 0.5276 GB, free: 8.621 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003885/1.2, allocations: 1.461 MB / 0.5291 GB, free: 7.129 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.201, allocations: 12.03 kB / 0.5291 GB, free: 7.117 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/1.201, allocations: 64.88 kB / 0.5291 GB, free: 7.047 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/1.201, allocations: 38.89 kB / 0.5292 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/1.201, allocations: 187.4 kB / 0.5294 GB, free: 6.805 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/1.201, allocations: 20.5 kB / 0.5294 GB, free: 6.785 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/1.201, allocations: 20.5 kB / 0.5294 GB, free: 6.766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/1.201, allocations: 336.5 kB / 0.5297 GB, free: 6.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.201, allocations: 0 / 0.5297 GB, free: 6.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/1.201, allocations: 19.88 kB / 0.5297 GB, free: 6.391 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/1.201, allocations: 11.98 kB / 0.5297 GB, free: 6.379 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/1.202, allocations: 226.3 kB / 0.53 GB, free: 6.156 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/1.219, allocations: 10.9 MB / 0.5406 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/1.22, allocations: 177 kB / 0.5408 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/1.22, allocations: 101.6 kB / 0.5409 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07224/1.292, allocations: 43.57 MB / 0.5834 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/1.292, allocations: 34.56 kB / 0.5835 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 1.984e-06/1.292, allocations: 0 / 0.5835 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.002521/1.295, allocations: 0.8669 MB / 0.5843 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/1.295, allocations: 55.34 kB / 0.5844 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/1.295, allocations: 257.9 kB / 0.5846 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/1.295, allocations: 29.64 kB / 0.5846 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/1.295, allocations: 157.8 kB / 0.5848 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/1.295, allocations: 144.4 kB / 0.5849 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/1.295, allocations: 53.69 kB / 0.585 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/1.295, allocations: 342.8 kB / 0.5853 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/1.295, allocations: 96.47 kB / 0.5854 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/1.295, allocations: 152 kB / 0.5855 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/1.296, allocations: 269.4 kB / 0.5858 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.296, allocations: 4 kB / 0.5858 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001228/1.297, allocations: 0.6024 MB / 0.5864 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.297, allocations: 4 kB / 0.5864 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/1.297, allocations: 0 / 0.5864 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/1.297, allocations: 233.2 kB / 0.5866 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/1.297, allocations: 15.94 kB / 0.5866 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000553/1.298, allocations: 0.7382 MB / 0.5873 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.395e-05/1.298, allocations: 31.73 kB / 0.5874 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/1.298, allocations: 16.03 kB / 0.5874 GB, free: 11.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.298, allocations: 147.2 kB / 0.5875 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/1.298, allocations: 28.38 kB / 0.5876 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006477/1.299, allocations: 0.7733 MB / 0.5883 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002923/1.299, allocations: 292.5 kB / 0.5886 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.299, allocations: 0 / 0.5886 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.299, allocations: 8.594 kB / 0.5886 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/1.3, allocations: 0.7953 MB / 0.5894 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.3, allocations: 1.219 kB / 0.5894 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/1.3, allocations: 29.53 kB / 0.5894 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/1.3, allocations: 196.5 kB / 0.5896 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/1.3, allocations: 0 / 0.5896 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004774/1.301, allocations: 0.7669 MB / 0.5903 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.301, allocations: 0.5625 kB / 0.5903 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/1.301, allocations: 424 kB / 0.5908 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/1.302, allocations: 47.66 kB / 0.5908 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/1.302, allocations: 11.89 kB / 0.5908 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/1.302, allocations: 8.562 kB / 0.5908 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/1.302, allocations: 11.97 kB / 0.5908 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/1.302, allocations: 8 kB / 0.5908 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001777/1.302, allocations: 255.7 kB / 0.5911 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.302, allocations: 0 / 0.5911 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002183/1.304, allocations: 1.212 MB / 0.5923 GB, free: 6.125 MB / 0.5261 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 (13): * Single equations (assignments): 12 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003984/1.308, allocations: 2.753 MB / 0.595 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004929/1.309, allocations: 306.5 kB / 0.5952 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.309, allocations: 0 / 0.5952 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/1.309, allocations: 132.8 kB / 0.5954 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/1.309, allocations: 127.9 kB / 0.5955 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/1.314, allocations: 3.913 MB / 0.5993 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/1.314, allocations: 181 kB / 0.5995 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.594e-05/1.314, allocations: 23.66 kB / 0.5995 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/1.315, allocations: 100.5 kB / 0.5996 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of SimCode: time 5.61e-07/1.315, allocations: 0 / 0.5996 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0591/1.374, allocations: 49.95 MB / 0.6484 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.436/10.81, allocations: 7.984 kB / 0.6484 GB, free: 13.11 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.31756550166756] Failed to read output from testmodel.py, exit status != 0: 11.132482868619263 11.223342768 10.025184555 Calling exit ...