Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0008114/0.0008114, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000853/0.000853, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8879/0.8879, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7098/0.7098, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.155e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002335/0.002356, allocations: 1.693 MB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.003642, allocations: 1.375 MB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.003703, allocations: 0 / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.003924, allocations: 43.64 kB / 0.6212 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.004252, allocations: 107.4 kB / 0.6213 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.004523, allocations: 149.2 kB / 0.6214 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.004745, allocations: 261.5 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.00484, allocations: 17.58 kB / 0.6217 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.004954, allocations: 127.7 kB / 0.6218 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.005092, allocations: 83.81 kB / 0.6219 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.005117, allocations: 20 kB / 0.6219 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.00527, allocations: 115.8 kB / 0.622 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.005346, allocations: 83.75 kB / 0.6221 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.005409, allocations: 75.75 kB / 0.6221 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.005716, allocations: 358.8 kB / 0.6225 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005718, allocations: 0 / 0.6225 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.763e-06/0.00572, allocations: 4 kB / 0.6225 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.005724, allocations: 4 kB / 0.6225 GB, free: 9.18 MB / 0.5886 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.000566/0.00629, allocations: 489.6 kB / 0.623 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.006326, allocations: 8.031 kB / 0.623 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.006367, allocations: 58.67 kB / 0.623 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.00642, allocations: 28.75 kB / 0.6231 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.006627, allocations: 216.8 kB / 0.6233 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.006644, allocations: 12.38 kB / 0.6233 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.006661, allocations: 12.38 kB / 0.6233 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.006947, allocations: 324.7 kB / 0.6236 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006955, allocations: 192 / 0.6236 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.006971, allocations: 15.94 kB / 0.6236 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.006977, allocations: 4 kB / 0.6236 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.007478, allocations: 0.688 MB / 0.6243 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.008103, allocations: 0.519 MB / 0.6248 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.008341, allocations: 208 kB / 0.625 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.008438, allocations: 92.81 kB / 0.6251 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.008468, allocations: 15.98 kB / 0.6251 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.008702, allocations: 195.7 kB / 0.6253 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 1.263e-06/0.008703, allocations: 0 / 0.6253 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.0004579/0.009161, allocations: 376 kB / 0.6256 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.009212, allocations: 136.5 kB / 0.6258 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.009416, allocations: 317.7 kB / 0.6261 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.009436, allocations: 29.7 kB / 0.6261 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.009502, allocations: 136.7 kB / 0.6262 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.009559, allocations: 111.1 kB / 0.6263 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.009618, allocations: 61.69 kB / 0.6264 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.009705, allocations: 342.8 kB / 0.6267 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.734e-05/0.009802, allocations: 83.89 kB / 0.6268 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.009945, allocations: 205.5 kB / 0.627 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.01016, allocations: 212.7 kB / 0.6272 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01016, allocations: 0 / 0.6272 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002752/0.01043, allocations: 273.9 kB / 0.6275 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01045, allocations: 4 kB / 0.6275 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01045, allocations: 4 kB / 0.6275 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.01046, allocations: 0 / 0.6275 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.0106, allocations: 59.91 kB / 0.6275 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.0106, allocations: 4 kB / 0.6275 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.01068, allocations: 23.88 kB / 0.6276 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.0107, allocations: 19.92 kB / 0.6276 GB, free: 3.699 MB / 0.5886 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.0001091/0.0108, allocations: 166.7 kB / 0.6277 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.01084, allocations: 27.81 kB / 0.6278 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.01124, allocations: 384.7 kB / 0.6281 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.01124, allocations: 4 kB / 0.6281 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01125, allocations: 0 / 0.6281 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01125, allocations: 0 / 0.6281 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.01145, allocations: 284.3 kB / 0.6284 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01146, allocations: 0 / 0.6284 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-05/0.01155, allocations: 55.91 kB / 0.6285 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01155, allocations: 0 / 0.6285 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.01157, allocations: 11.98 kB / 0.6285 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01157, allocations: 4 kB / 0.6285 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01157, allocations: 0 / 0.6285 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.01187, allocations: 318.3 kB / 0.6288 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.01195, allocations: 71.69 kB / 0.6288 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.01198, allocations: 7.984 kB / 0.6288 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.01205, allocations: 15.98 kB / 0.6289 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.01211, allocations: 23.95 kB / 0.6289 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.01213, allocations: 12 kB / 0.6289 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001505/0.01228, allocations: 245.2 kB / 0.6291 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01228, allocations: 0 / 0.6291 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002258/0.01251, allocations: 79.86 kB / 0.6292 GB, free: 1.953 MB / 0.5886 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.001206/0.01372, allocations: 1.234 MB / 0.6304 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.01406, allocations: 219.8 kB / 0.6306 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.01406, allocations: 4 kB / 0.6306 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01418, allocations: 112.7 kB / 0.6307 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.01437, allocations: 39.91 kB / 0.6308 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.01657, allocations: 2.506 MB / 0.6332 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.01668, allocations: 150.9 kB / 0.6334 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000189/0.01687, allocations: 154.9 kB / 0.6335 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-05/0.01696, allocations: 92.45 kB / 0.6336 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.01696, allocations: 0 / 0.6336 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.03627, allocations: 6.792 MB / 0.6402 GB, free: 6.867 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.684, allocations: 0 / 0.6402 GB, free: 6.867 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.393476567231119] Failed to read output from testmodel.py, exit status != 0: 6.821184475906193 6.829474219 6.822186027 Calling exit ...