Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0008132/0.0008132, 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.001032/0.001032, allocations: 165.9 kB / 22.45 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.8509/0.8509, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.694/0.694, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.796e-05, allocations: 10.61 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002157/0.002175, allocations: 1.67 MB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003372, allocations: 1.367 MB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.003427, allocations: 0 / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.003615, allocations: 23.78 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.003928, allocations: 111.3 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.004178, allocations: 146.8 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.004388, allocations: 249.5 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.004469, allocations: 8 kB / 0.6216 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.00457, allocations: 119.8 kB / 0.6217 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.004689, allocations: 75.83 kB / 0.6217 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.004713, allocations: 20 kB / 0.6218 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.004863, allocations: 111.9 kB / 0.6219 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.004936, allocations: 87.73 kB / 0.6219 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.004994, allocations: 71.75 kB / 0.622 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.005283, allocations: 354.8 kB / 0.6224 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.005285, allocations: 4 kB / 0.6224 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005286, allocations: 0 / 0.6224 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.005289, allocations: 0 / 0.6224 GB, free: 9.277 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.0005264/0.005816, allocations: 497.6 kB / 0.6228 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.005848, allocations: 9.469 kB / 0.6228 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.005888, allocations: 54.72 kB / 0.6229 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.005936, allocations: 24.8 kB / 0.6229 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.006129, allocations: 212.8 kB / 0.6231 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.006142, allocations: 8.375 kB / 0.6231 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.006161, allocations: 24.31 kB / 0.6232 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.006423, allocations: 292.6 kB / 0.6234 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.00643, allocations: 192 / 0.6234 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.006449, allocations: 15.92 kB / 0.6234 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.006454, allocations: 4 kB / 0.6234 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.006955, allocations: 0.6865 MB / 0.6241 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.007498, allocations: 0.5076 MB / 0.6246 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.007818, allocations: 276.2 kB / 0.6249 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.007918, allocations: 97.38 kB / 0.625 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.007948, allocations: 20.2 kB / 0.625 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.008168, allocations: 177.4 kB / 0.6252 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.00817, allocations: 4 kB / 0.6252 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.0004441/0.008614, allocations: 365.8 kB / 0.6255 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.008669, allocations: 136.5 kB / 0.6256 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.008874, allocations: 317.7 kB / 0.6259 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.008892, allocations: 29.7 kB / 0.626 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.008951, allocations: 132.7 kB / 0.6261 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.009011, allocations: 123 kB / 0.6262 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.009068, allocations: 57.69 kB / 0.6263 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.009149, allocations: 342.8 kB / 0.6266 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.009241, allocations: 83.95 kB / 0.6267 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.009378, allocations: 204.5 kB / 0.6269 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.009602, allocations: 211.8 kB / 0.6271 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.009604, allocations: 4 kB / 0.6271 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002789/0.009883, allocations: 277.1 kB / 0.6273 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.009894, allocations: 5.875 kB / 0.6274 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.009898, allocations: 4 kB / 0.6274 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.009909, allocations: 3.984 kB / 0.6274 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01005, allocations: 63.91 kB / 0.6274 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.01005, allocations: 0 / 0.6274 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.01013, allocations: 31.83 kB / 0.6274 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.01015, allocations: 16 kB / 0.6275 GB, free: 3.773 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 (35): * Single equations (assignments): 35 * 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.791e-05/0.01024, allocations: 158.7 kB / 0.6276 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.01027, allocations: 27.86 kB / 0.6276 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.01068, allocations: 384.9 kB / 0.628 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.01069, allocations: 7.984 kB / 0.628 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01069, allocations: 3.938 kB / 0.628 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01069, allocations: 0 / 0.628 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.01088, allocations: 276.4 kB / 0.6283 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01088, allocations: 0 / 0.6283 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/0.01098, allocations: 59.91 kB / 0.6283 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01098, allocations: 4 kB / 0.6283 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.011, allocations: 12 kB / 0.6284 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.011, allocations: 0 / 0.6284 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.011, allocations: 0 / 0.6284 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.01129, allocations: 331.4 kB / 0.6287 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-05/0.01136, allocations: 67.67 kB / 0.6287 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.01138, allocations: 4 kB / 0.6287 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.01145, allocations: 24.02 kB / 0.6288 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.01149, allocations: 23.95 kB / 0.6288 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.01151, allocations: 19.92 kB / 0.6288 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001391/0.01165, allocations: 237.2 kB / 0.629 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01165, allocations: 4 kB / 0.629 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002103/0.01186, 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 (34): * Single equations (assignments): 33 * 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.001106/0.01297, allocations: 1.244 MB / 0.6303 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.01323, allocations: 219.8 kB / 0.6305 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01323, allocations: 0 / 0.6305 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.01334, allocations: 120.4 kB / 0.6306 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.0001734/0.01352, allocations: 34.89 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.001869/0.01539, allocations: 2.526 MB / 0.6331 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.571e-05/0.01547, allocations: 154.9 kB / 0.6333 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.01565, allocations: 138.9 kB / 0.6334 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.01575, allocations: 100.5 kB / 0.6335 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of SimCode: time 4e-07/0.01575, allocations: 4 kB / 0.6335 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.03534, allocations: 6.731 MB / 0.6401 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/7.682, allocations: 8.922 kB / 0.6401 GB, free: 6.949 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.262237184680998] Failed to read output from testmodel.py, exit status != 0: 7.813653944060206 7.822265509 7.815358113 Calling exit ...