Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001616/0.001616, allocations: 97.31 kB / 19.73 MB, free: 2.145 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.002017/0.002017, allocations: 220.4 kB / 23.03 MB, free: 4.953 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002517/0.002517, allocations: 278.9 kB / 313.5 MB, free: 2.629 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.228/1.228, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004044/0.004044, allocations: 106.5 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2051, allocations: 95.38 MB / 0.8334 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003628/0.2087, allocations: 1.679 MB / 0.835 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.211, allocations: 1.364 MB / 0.8364 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.211, allocations: 4 kB / 0.8364 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.2113, allocations: 35.77 kB / 0.8364 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.2117, allocations: 99.48 kB / 0.8365 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.2121, allocations: 159.6 kB / 0.8367 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.2124, allocations: 253.5 kB / 0.8369 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2125, allocations: 29.5 kB / 0.8369 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.2126, allocations: 83.83 kB / 0.837 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.2128, allocations: 103.7 kB / 0.8371 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.2128, allocations: 20 kB / 0.8371 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.213, allocations: 119.9 kB / 0.8372 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.2131, allocations: 79.81 kB / 0.8373 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.2133, allocations: 95.45 kB / 0.8374 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.2137, allocations: 338.7 kB / 0.8377 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2137, allocations: 0 / 0.8377 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2137, allocations: 0 / 0.8377 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2137, allocations: 0 / 0.8377 GB, free: 3.895 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008054/0.2145, allocations: 0.4959 MB / 0.8382 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2145, allocations: 17.94 kB / 0.8382 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.781e-05/0.2146, allocations: 4.188 kB / 0.8382 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.872e-05/0.2146, allocations: 54.73 kB / 0.8383 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.2147, allocations: 32.75 kB / 0.8383 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.215, allocations: 217.1 kB / 0.8385 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.215, allocations: 12.36 kB / 0.8385 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.2151, allocations: 20.12 kB / 0.8386 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.2155, allocations: 319.5 kB / 0.8389 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.2155, allocations: 0 / 0.8389 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.2155, allocations: 11.92 kB / 0.8389 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2155, allocations: 4 kB / 0.8389 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.2165, allocations: 0.7373 MB / 0.8396 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.2174, allocations: 0.5188 MB / 0.8401 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.2178, allocations: 217.7 kB / 0.8403 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.2179, allocations: 88.81 kB / 0.8404 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.218, allocations: 23.86 kB / 0.8404 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.2183, allocations: 203.7 kB / 0.8406 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.674e-06/0.2183, allocations: 0 / 0.8406 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.0006853/0.219, allocations: 366.6 kB / 0.841 GB, free: 416 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.2191, allocations: 140.5 kB / 0.8411 GB, free: 244 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.2195, allocations: 324.9 kB / 0.8414 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.2195, allocations: 33.7 kB / 0.8414 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2196, allocations: 124.7 kB / 0.8416 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-05/0.2197, allocations: 115 kB / 0.8417 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2198, allocations: 61.69 kB / 0.8417 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.22, allocations: 338.8 kB / 0.8421 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2201, allocations: 79.95 kB / 0.8421 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2204, allocations: 205.5 kB / 0.8423 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.2207, allocations: 204.7 kB / 0.8425 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2207, allocations: 0 / 0.8425 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004486/0.2211, allocations: 285.8 kB / 0.8428 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2212, allocations: 4 kB / 0.8428 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2212, allocations: 0 / 0.8428 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2212, allocations: 4 kB / 0.8428 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.2214, allocations: 59.91 kB / 0.8429 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2214, allocations: 3.938 kB / 0.8429 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.2216, allocations: 31.81 kB / 0.8429 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.2216, allocations: 12 kB / 0.8429 GB, free: 14.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 0.0001653/0.2217, allocations: 162.4 kB / 0.8431 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.2218, allocations: 31.81 kB / 0.8431 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.2225, allocations: 368.7 kB / 0.8434 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2225, allocations: 4 kB / 0.8434 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2225, allocations: 7.938 kB / 0.8435 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2225, allocations: 3.984 kB / 0.8435 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.2228, allocations: 276.5 kB / 0.8437 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.2228, allocations: 4 kB / 0.8437 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.223, allocations: 51.91 kB / 0.8438 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.223, allocations: 4 kB / 0.8438 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.223, allocations: 8 kB / 0.8438 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.223, allocations: 0 / 0.8438 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.223, allocations: 3.938 kB / 0.8438 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.2235, allocations: 330.2 kB / 0.8441 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2236, allocations: 67.73 kB / 0.8442 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.2237, allocations: 8 kB / 0.8442 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.2239, allocations: 15.98 kB / 0.8442 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.2239, allocations: 27.89 kB / 0.8442 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.2239, allocations: 19.97 kB / 0.8442 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002271/0.2242, allocations: 244.4 kB / 0.8445 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2242, allocations: 0 / 0.8445 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003108/0.2245, allocations: 75.83 kB / 0.8445 GB, free: 12.56 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002224/0.2267, allocations: 1.236 MB / 0.8458 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000479/0.2272, allocations: 215.8 kB / 0.846 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2272, allocations: 0 / 0.846 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.2274, allocations: 116.7 kB / 0.8461 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.2277, allocations: 36.36 kB / 0.8461 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.2307, allocations: 2.484 MB / 0.8485 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2308, allocations: 146.9 kB / 0.8487 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.2312, allocations: 146.9 kB / 0.8488 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.2313, allocations: 91.39 kB / 0.8489 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.2313, allocations: 0 / 0.8489 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.2628, allocations: 6.401 MB / 0.8551 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.93, allocations: 17.64 kB / 0.8552 GB, free: 1.863 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.36085022194311] Failed to read output from testmodel.py, exit status != 0: 12.19994764495641 12.232074274 12.012452164 Calling exit ...