Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001821/0.001821, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002427/0.002427, allocations: 216 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9154/0.9154, allocations: 145 MB / 457.4 MB, free: 15.5 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 65.97 kB / 0.6331 GB, free: 7.348 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1713, allocations: 87.88 MB / 0.719 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002564/0.1739, allocations: 1.294 MB / 0.7202 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5376/0.7115, allocations: 141 MB / 0.8579 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.7116, allocations: 4 kB / 0.8579 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.7116, allocations: 3.938 kB / 0.8579 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.7117, allocations: 0 / 0.8579 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.7133, allocations: 475.8 kB / 0.8584 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.7134, allocations: 51.77 kB / 0.8585 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.7135, allocations: 4 kB / 0.8585 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.7135, allocations: 23.98 kB / 0.8585 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.7136, allocations: 15.91 kB / 0.8585 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.7136, allocations: 4 kB / 0.8585 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.7153, allocations: 0.8387 MB / 0.8593 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.7154, allocations: 15.97 kB / 0.8593 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.7154, allocations: 11.94 kB / 0.8593 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.7161, allocations: 451 kB / 0.8598 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7161, allocations: 0 / 0.8598 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7161, allocations: 0 / 0.8598 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.7162, allocations: 0 / 0.8598 GB, free: 13.22 MB / 0.6387 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.0005734/0.7167, allocations: 295.8 kB / 0.8601 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7168, allocations: 8.031 kB / 0.8601 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.7168, allocations: 46.69 kB / 0.8601 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.717, allocations: 8.938 kB / 0.8601 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.7171, allocations: 114.4 kB / 0.8602 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.7171, allocations: 8.547 kB / 0.8602 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.7172, allocations: 7.938 kB / 0.8602 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.7173, allocations: 57.67 kB / 0.8603 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7173, allocations: 0 / 0.8603 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.7173, allocations: 0 / 0.8603 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.7173, allocations: 0 / 0.8603 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.7174, allocations: 23.98 kB / 0.8603 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.7176, allocations: 140.6 kB / 0.8605 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.7177, allocations: 46.55 kB / 0.8605 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.7177, allocations: 16.8 kB / 0.8605 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.729, allocations: 2.86 MB / 0.8633 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.7291, allocations: 34.56 kB / 0.8633 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.7291, allocations: 0 / 0.8633 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.04343/0.7725, allocations: 14.94 MB / 0.8779 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.7726, allocations: 55.34 kB / 0.878 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.7727, allocations: 101.8 kB / 0.8781 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.7727, allocations: 29.7 kB / 0.8781 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.7727, allocations: 80.14 kB / 0.8782 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.7728, allocations: 35.66 kB / 0.8782 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.7728, allocations: 33.7 kB / 0.8782 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.773, allocations: 322.8 kB / 0.8786 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/0.7731, allocations: 23.94 kB / 0.8786 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.7731, allocations: 27.98 kB / 0.8786 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.7732, allocations: 67.72 kB / 0.8787 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.7733, allocations: 0 / 0.8787 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002451/0.7735, allocations: 105.6 kB / 0.8788 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7735, allocations: 4 kB / 0.8788 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.7735, allocations: 0 / 0.8788 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.7735, allocations: 0 / 0.8788 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.7737, allocations: 27.98 kB / 0.8788 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.7737, allocations: 0 / 0.8788 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.7737, allocations: 4 kB / 0.8788 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.7737, allocations: 8 kB / 0.8788 GB, free: 9.414 MB / 0.6544 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 9.69e-05/0.7738, allocations: 117.8 kB / 0.8789 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.7739, allocations: 7.984 kB / 0.8789 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.7741, allocations: 125.4 kB / 0.8791 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7741, allocations: 0 / 0.8791 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7741, allocations: 0 / 0.8791 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7741, allocations: 0 / 0.8791 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.7743, allocations: 152.7 kB / 0.8792 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7743, allocations: 0.5 kB / 0.8792 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.7745, allocations: 27.98 kB / 0.8792 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.7745, allocations: 4 kB / 0.8792 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.7745, allocations: 0.875 kB / 0.8792 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7745, allocations: 0 / 0.8792 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7745, allocations: 3.938 kB / 0.8792 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.7748, allocations: 165.1 kB / 0.8794 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.7749, allocations: 19.98 kB / 0.8794 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.7749, allocations: 8 kB / 0.8794 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.775, allocations: 11.98 kB / 0.8794 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.7751, allocations: 12.98 kB / 0.8794 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.7751, allocations: 0 / 0.8794 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.7751, allocations: 79.28 kB / 0.8795 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.7751, allocations: 0 / 0.8795 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001716/0.7768, allocations: 0.5739 MB / 0.8801 GB, free: 8.039 MB / 0.6544 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.003974/0.7808, allocations: 0.9398 MB / 0.881 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.781, allocations: 71.91 kB / 0.8811 GB, free: 7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.781, allocations: 0 / 0.8811 GB, free: 7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.7811, allocations: 27.98 kB / 0.8811 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.7813, allocations: 15.94 kB / 0.8811 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.7837, allocations: 1.545 MB / 0.8826 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.7841, allocations: 0.6814 MB / 0.8833 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.714e-05/0.7842, allocations: 28.97 kB / 0.8833 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.7842, allocations: 23.44 kB / 0.8833 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.7842, allocations: 0 / 0.8833 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06622/0.8505, allocations: 25.73 MB / 0.9085 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.72, allocations: 11.64 kB / 0.9085 GB, free: 11.04 MB / 0.6856 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.016938428161666] Failed to read output from testmodel.py, exit status != 0: 12.836107258917764 12.860437969 12.139937708 Calling exit ...