Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007744/0.0007744, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007986/0.0007986, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8363/0.8363, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.681/0.681, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.606e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00197/0.001986, allocations: 1.685 MB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003165, allocations: 1.374 MB / 0.6211 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.003223, allocations: 0 / 0.6211 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.00341, allocations: 27.8 kB / 0.6211 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.003725, allocations: 115.3 kB / 0.6212 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.003995, allocations: 154.8 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.004215, allocations: 265.4 kB / 0.6216 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.004305, allocations: 13.58 kB / 0.6216 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.004416, allocations: 123.8 kB / 0.6217 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.004542, allocations: 81.94 kB / 0.6218 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.004566, allocations: 16 kB / 0.6218 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.004721, allocations: 123.8 kB / 0.6219 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.004791, allocations: 91.73 kB / 0.622 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.00485, allocations: 71.81 kB / 0.6221 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.005145, allocations: 358.8 kB / 0.6224 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005147, allocations: 0 / 0.6224 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005148, allocations: 4 kB / 0.6224 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005152, allocations: 0 / 0.6224 GB, free: 9.246 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.0005325/0.005684, allocations: 496.1 kB / 0.6229 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.005719, allocations: 9.469 kB / 0.6229 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.005758, allocations: 54.73 kB / 0.623 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.00581, allocations: 28.75 kB / 0.623 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.006003, allocations: 224.7 kB / 0.6232 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.006023, allocations: 12.38 kB / 0.6232 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.006039, allocations: 16.38 kB / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.006309, allocations: 322.2 kB / 0.6235 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.006316, allocations: 192 / 0.6235 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.006334, allocations: 11.94 kB / 0.6236 GB, free: 8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.00634, allocations: 4 kB / 0.6236 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.006824, allocations: 0.6865 MB / 0.6242 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007884/0.007612, allocations: 0.5151 MB / 0.6247 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.00784, allocations: 212 kB / 0.6249 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.007937, allocations: 92.81 kB / 0.625 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.007968, allocations: 15.92 kB / 0.625 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.008199, allocations: 195.2 kB / 0.6252 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 1.342e-06/0.008201, allocations: 0 / 0.6252 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.0004384/0.008639, allocations: 376.5 kB / 0.6256 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.00869, allocations: 132.5 kB / 0.6257 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.008896, allocations: 317.7 kB / 0.626 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.008918, allocations: 29.7 kB / 0.626 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.00898, allocations: 136.7 kB / 0.6262 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.009038, allocations: 115 kB / 0.6263 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.009096, allocations: 61.69 kB / 0.6263 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.009178, allocations: 342.8 kB / 0.6267 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/0.009271, allocations: 79.95 kB / 0.6267 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.00941, allocations: 200.7 kB / 0.6269 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.009613, allocations: 208.7 kB / 0.6271 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009615, allocations: 0 / 0.6271 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002731/0.009888, allocations: 277.9 kB / 0.6274 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.009901, allocations: 4 kB / 0.6274 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.009906, allocations: 4 kB / 0.6274 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.009917, allocations: 0 / 0.6274 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.01005, allocations: 63.91 kB / 0.6275 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.01006, allocations: 4 kB / 0.6275 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.01013, allocations: 23.88 kB / 0.6275 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.01015, allocations: 11.98 kB / 0.6275 GB, free: 3.77 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.0001131/0.01027, allocations: 166.7 kB / 0.6277 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.0103, allocations: 27.81 kB / 0.6277 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.01068, allocations: 380.7 kB / 0.6281 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01069, allocations: 4 kB / 0.6281 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01069, allocations: 0 / 0.6281 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01069, allocations: 0 / 0.6281 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.01088, allocations: 284.3 kB / 0.6283 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01088, allocations: 4 kB / 0.6283 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.01097, allocations: 55.91 kB / 0.6284 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01098, allocations: 0 / 0.6284 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.01099, allocations: 11.98 kB / 0.6284 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01099, allocations: 4 kB / 0.6284 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01099, allocations: 0 / 0.6284 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.01129, allocations: 322.1 kB / 0.6287 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.01137, allocations: 71.69 kB / 0.6288 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.01139, allocations: 7.984 kB / 0.6288 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.01146, allocations: 19.98 kB / 0.6288 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.0115, allocations: 27.95 kB / 0.6288 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.01152, allocations: 12 kB / 0.6288 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000138/0.01166, allocations: 245.2 kB / 0.6291 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01166, allocations: 0 / 0.6291 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002161/0.01188, allocations: 75.86 kB / 0.6291 GB, free: 2.016 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.001222/0.0131, allocations: 1.241 MB / 0.6304 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.01339, allocations: 212.3 kB / 0.6306 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.0134, allocations: 4 kB / 0.6306 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.01352, allocations: 124.3 kB / 0.6307 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.01371, allocations: 28.5 kB / 0.6307 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.01597, allocations: 2.491 MB / 0.6331 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.514e-05/0.01607, allocations: 155 kB / 0.6333 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001986/0.01627, allocations: 150.8 kB / 0.6334 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.01637, allocations: 96.39 kB / 0.6335 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/0.01637, allocations: 0 / 0.6335 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.03754, allocations: 6.8 MB / 0.6402 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.727, allocations: 4.703 kB / 0.6402 GB, free: 6.953 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.25551825761795] Failed to read output from testmodel.py, exit status != 0: 6.866696620360017 6.876680926 6.869825138 Calling exit ...