Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.001338/0.001338, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001512/0.001512, allocations: 211.7 kB / 22.24 MB, free: 4.859 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.797 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.9715/0.9715, allocations: 145 MB / 457.4 MB, free: 15.28 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.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",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.003151/0.003151, allocations: 70.95 kB / 0.6331 GB, free: 6.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2301, allocations: 87.88 MB / 0.7189 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002537/0.2326, allocations: 1.279 MB / 0.7201 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003973/0.2366, allocations: 3.095 MB / 0.7232 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.2366, allocations: 0 / 0.7232 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.2366, allocations: 0 / 0.7232 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.2367, allocations: 3.938 kB / 0.7232 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.2372, allocations: 107.5 kB / 0.7233 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.2373, allocations: 43.83 kB / 0.7233 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.2373, allocations: 4 kB / 0.7233 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.2373, allocations: 11.98 kB / 0.7233 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.2374, allocations: 19.92 kB / 0.7233 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.2374, allocations: 0 / 0.7233 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.2376, allocations: 71.81 kB / 0.7234 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.2376, allocations: 7.922 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.2377, allocations: 19.92 kB / 0.7234 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2378, allocations: 67.73 kB / 0.7235 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2378, allocations: 4 kB / 0.7235 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2378, allocations: 0 / 0.7235 GB, free: 10.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2378, allocations: 0 / 0.7235 GB, free: 10.11 MB / 0.545 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.0004116/0.2383, allocations: 270.3 kB / 0.7238 GB, free: 9.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2383, allocations: 12.03 kB / 0.7238 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.2383, allocations: 34.75 kB / 0.7238 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.2384, allocations: 8.891 kB / 0.7238 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.2385, allocations: 106.5 kB / 0.7239 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2385, allocations: 384 / 0.7239 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.2386, allocations: 8.375 kB / 0.7239 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2387, allocations: 134.7 kB / 0.724 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2387, allocations: 0 / 0.724 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2388, allocations: 4 kB / 0.724 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2388, allocations: 4 kB / 0.7241 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.2388, allocations: 19.91 kB / 0.7241 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.239, allocations: 132.7 kB / 0.7242 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.2391, allocations: 50.55 kB / 0.7242 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.2391, allocations: 16.86 kB / 0.7243 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/0.2397, allocations: 250 kB / 0.7245 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2397, allocations: 46.5 kB / 0.7245 GB, free: 8.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2397, allocations: 0 / 0.7245 GB, free: 8.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000559/0.2403, allocations: 221.2 kB / 0.7248 GB, free: 8.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.2403, allocations: 51.41 kB / 0.7248 GB, free: 8.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.2404, allocations: 101.8 kB / 0.7249 GB, free: 8.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.2404, allocations: 29.69 kB / 0.7249 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.2405, allocations: 88.09 kB / 0.725 GB, free: 8.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.2405, allocations: 23.75 kB / 0.725 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.2405, allocations: 29.7 kB / 0.7251 GB, free: 8.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2407, allocations: 314.8 kB / 0.7254 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.2407, allocations: 19.98 kB / 0.7254 GB, free: 7.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.2408, allocations: 53.14 kB / 0.7254 GB, free: 7.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.2409, allocations: 73.03 kB / 0.7255 GB, free: 7.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2409, allocations: 0 / 0.7255 GB, free: 7.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001422/0.241, allocations: 97.67 kB / 0.7256 GB, free: 7.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.241, allocations: 12.12 kB / 0.7256 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.241, allocations: 0 / 0.7256 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2411, allocations: 0 / 0.7256 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.2411, allocations: 27.98 kB / 0.7256 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2411, allocations: 3.938 kB / 0.7256 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.2412, allocations: 12.31 kB / 0.7257 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2412, allocations: 4 kB / 0.7257 GB, free: 7.605 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.615e-05/0.2413, allocations: 113.8 kB / 0.7258 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.2413, allocations: 0 / 0.7258 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.2414, allocations: 8.062 kB / 0.7258 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.2414, allocations: 15.98 kB / 0.7258 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2414, allocations: 3.938 kB / 0.7258 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2414, allocations: 3.938 kB / 0.7258 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.2416, allocations: 144.8 kB / 0.7259 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2416, allocations: 0 / 0.7259 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.2417, allocations: 15.98 kB / 0.7259 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2417, allocations: 0 / 0.7259 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2417, allocations: 4 kB / 0.726 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2417, allocations: 0 / 0.726 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-05/0.2417, allocations: 3.938 kB / 0.726 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.2419, allocations: 175.5 kB / 0.7261 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.242, allocations: 4 kB / 0.7261 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.242, allocations: 4 kB / 0.7261 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2421, allocations: 4 kB / 0.7261 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.2421, allocations: 11.92 kB / 0.7261 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2421, allocations: 0 / 0.7261 GB, free: 7.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.2422, allocations: 79.28 kB / 0.7262 GB, free: 6.957 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2422, allocations: 0 / 0.7262 GB, free: 6.957 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002374/0.2424, allocations: 16 kB / 0.7262 GB, free: 6.941 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0005202/0.2429, allocations: 0.7204 MB / 0.7269 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.243, allocations: 39.92 kB / 0.727 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.243, allocations: 0 / 0.727 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.54e-05/0.2431, allocations: 15.94 kB / 0.727 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.2433, allocations: 14.17 kB / 0.727 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.2449, allocations: 1.525 MB / 0.7285 GB, free: 4.492 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.88e-05/0.245, allocations: 75.27 kB / 0.7286 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.37e-05/0.245, allocations: 12 kB / 0.7286 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.2451, allocations: 15.44 kB / 0.7286 GB, free: 4.371 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2451, allocations: 0 / 0.7286 GB, free: 4.371 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.2739, allocations: 2.195 MB / 0.7307 GB, free: 2.316 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.57, allocations: 13.41 kB / 0.7308 GB, free: 2.309 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.305339062120765] Failed to read output from testmodel.py, exit status != 0: 11.675321066286415 11.691278373 11.450158285 Calling exit ...