Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 76.5 kB / 19.92 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 177.2 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8971/0.8971, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5609/0.5609, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.5541 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.502e-05, allocations: 2.281 kB / 0.5541 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002785/0.00281, allocations: 1.278 MB / 0.5554 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.112/0.1148, allocations: 120.9 MB / 0.6735 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.1148, allocations: 0 / 0.6735 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.1148, allocations: 0 / 0.6735 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.1149, allocations: 11.86 kB / 0.6735 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.116, allocations: 474.1 kB / 0.6739 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.116, allocations: 39.84 kB / 0.674 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.1161, allocations: 0 / 0.674 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.793e-05/0.1161, allocations: 31.95 kB / 0.674 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.1162, allocations: 15.98 kB / 0.674 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1162, allocations: 0 / 0.674 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1173, allocations: 0.7996 MB / 0.6748 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.1173, allocations: 11.91 kB / 0.6748 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.1174, allocations: 15.98 kB / 0.6748 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.1179, allocations: 0.5653 MB / 0.6754 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1179, allocations: 0 / 0.6754 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1179, allocations: 0 / 0.6754 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1179, allocations: 0 / 0.6754 GB, free: 6.23 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004115/0.1184, allocations: 302.1 kB / 0.6757 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1184, allocations: 8.625 kB / 0.6757 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.1184, allocations: 34.75 kB / 0.6757 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1186, allocations: 16.88 kB / 0.6757 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.808e-05/0.1186, allocations: 105.7 kB / 0.6758 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1186, allocations: 8.375 kB / 0.6758 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1187, allocations: 8.359 kB / 0.6758 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1188, allocations: 135.1 kB / 0.676 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1188, allocations: 0 / 0.676 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1188, allocations: 4 kB / 0.676 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1188, allocations: 0 / 0.676 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.1189, allocations: 19.98 kB / 0.676 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1191, allocations: 136.7 kB / 0.6761 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.1191, allocations: 50.5 kB / 0.6762 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.1192, allocations: 12.84 kB / 0.6762 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005685/0.1249, allocations: 2.872 MB / 0.679 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1249, allocations: 42.44 kB / 0.679 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.1249, allocations: 0 / 0.679 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.2729/0.3978, allocations: 14.92 MB / 0.6936 GB, free: 168 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.3978, allocations: 58.53 kB / 0.6937 GB, free: 168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.3979, allocations: 93.23 kB / 0.6937 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3979, allocations: 31.98 kB / 0.6938 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.278e-05/0.3979, allocations: 80.8 kB / 0.6939 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.398, allocations: 48.86 kB / 0.6939 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.996e-05/0.398, allocations: 28.39 kB / 0.6939 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.398, allocations: 317 kB / 0.6942 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.3981, allocations: 21.11 kB / 0.6942 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.3981, allocations: 25.34 kB / 0.6943 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.3982, allocations: 64.97 kB / 0.6943 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3982, allocations: 4 kB / 0.6943 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001345/0.3983, allocations: 116.5 kB / 0.6944 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3983, allocations: 2.906 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3984, allocations: 2.469 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3984, allocations: 0.5469 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.3985, allocations: 27 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3985, allocations: 0 / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.3985, allocations: 3.062 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.3985, allocations: 10.69 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.3985, allocations: 123.2 kB / 0.6946 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3986, allocations: 2.75 kB / 0.6946 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.3987, allocations: 125.8 kB / 0.6947 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3987, allocations: 2.719 kB / 0.6947 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3987, allocations: 3.719 kB / 0.6947 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3987, allocations: 0 / 0.6947 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.844e-05/0.3988, allocations: 142.9 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3988, allocations: 4 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.3989, allocations: 23.17 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3989, allocations: 0 / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3989, allocations: 6.938 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3989, allocations: 0 / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3989, allocations: 3.328 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.3991, allocations: 159.7 kB / 0.6951 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.543e-05/0.3992, allocations: 14.02 kB / 0.6951 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3992, allocations: 2.844 kB / 0.6951 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.3993, allocations: 20.19 kB / 0.6951 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.3993, allocations: 9.172 kB / 0.6951 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3993, allocations: 10 kB / 0.6951 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.489e-05/0.3993, allocations: 75.28 kB / 0.6952 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3993, allocations: 2.781 kB / 0.6952 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00157/0.4009, allocations: 0.5637 MB / 0.6957 GB, free: 166.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002652/0.4035, allocations: 0.9716 MB / 0.6967 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.4037, allocations: 67.89 kB / 0.6968 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4037, allocations: 0 / 0.6968 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.4037, allocations: 36.2 kB / 0.6968 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.4039, allocations: 9.25 kB / 0.6968 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.4054, allocations: 1.478 MB / 0.6982 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.692e-05/0.4055, allocations: 71.72 kB / 0.6983 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.798e-05/0.4056, allocations: 26.3 kB / 0.6983 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.4056, allocations: 24.38 kB / 0.6984 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/0.4056, allocations: 0 / 0.6984 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06661/0.4722, allocations: 26.18 MB / 0.7239 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.148, allocations: 1.5 kB / 0.7239 GB, free: 157.5 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.599306951276958] Failed to read output from testmodel.py, exit status != 0: 8.238378734327853 8.252385923 8.131715095 Calling exit ...