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.0008463/0.0008463, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009471/0.0009471, allocations: 217.7 kB / 22.26 MB, free: 3.699 MB / 13.93 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.03/1.03, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.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.7727/0.7727, allocations: 203.8 MB / 0.5042 GB, free: 10.69 MB / 410.7 MB " [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: IDEAS 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.0009421/0.0009421, allocations: 61.56 kB / 0.7182 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5294, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002306/0.5317, allocations: 1.705 MB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.5333, allocations: 1.397 MB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-05/0.5334, allocations: 3 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.5337, allocations: 29.3 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.5341, allocations: 103.8 kB / 0.821 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.5344, allocations: 140.9 kB / 0.8212 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.5347, allocations: 246 kB / 0.8214 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.5348, allocations: 15.94 kB / 0.8214 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.535, allocations: 83.98 kB / 0.8215 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.5352, allocations: 101.8 kB / 0.8216 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.5352, allocations: 22.09 kB / 0.8216 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.5354, allocations: 124.1 kB / 0.8217 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.958e-05/0.5355, allocations: 85.14 kB / 0.8218 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.5356, allocations: 110.6 kB / 0.8219 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.536, allocations: 332.7 kB / 0.8222 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.536, allocations: 2.125 kB / 0.8222 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.536, allocations: 0 / 0.8222 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.536, allocations: 0 / 0.8222 GB, free: 14.47 MB / 0.6198 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.0006576/0.5366, allocations: 498.4 kB / 0.8227 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5367, allocations: 13.59 kB / 0.8227 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.5367, allocations: 46.98 kB / 0.8228 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.5368, allocations: 34.25 kB / 0.8228 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.5371, allocations: 213.6 kB / 0.823 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5371, allocations: 11.5 kB / 0.823 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.5371, allocations: 15.91 kB / 0.823 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.5374, allocations: 216 kB / 0.8232 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5374, allocations: 5.656 kB / 0.8232 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.5374, allocations: 5.594 kB / 0.8233 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.5374, allocations: 4.438 kB / 0.8233 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.5382, allocations: 0.7387 MB / 0.824 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.5389, allocations: 0.5477 MB / 0.8245 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.5393, allocations: 276.9 kB / 0.8248 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5394, allocations: 96.52 kB / 0.8249 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.5395, allocations: 21.33 kB / 0.8249 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/0.5398, allocations: 177.8 kB / 0.8251 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.5398, allocations: 0 / 0.8251 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0005327/0.5403, allocations: 375.2 kB / 0.8254 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.5404, allocations: 135 kB / 0.8255 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.5406, allocations: 317.4 kB / 0.8258 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5406, allocations: 33.39 kB / 0.8259 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.5407, allocations: 134.7 kB / 0.826 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.5408, allocations: 115.6 kB / 0.8261 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.5409, allocations: 70.89 kB / 0.8262 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.541, allocations: 332 kB / 0.8265 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.5411, allocations: 80.92 kB / 0.8266 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.5412, allocations: 129.1 kB / 0.8267 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.5415, allocations: 223.1 kB / 0.8269 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5415, allocations: 1.281 kB / 0.8269 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003496/0.5418, allocations: 280.6 kB / 0.8272 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5419, allocations: 5.875 kB / 0.8272 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5419, allocations: 0 / 0.8272 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5419, allocations: 5.594 kB / 0.8272 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.5421, allocations: 60.7 kB / 0.8273 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5421, allocations: 1.188 kB / 0.8273 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.5422, allocations: 42.11 kB / 0.8273 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.5422, allocations: 13.98 kB / 0.8273 GB, free: 11.57 MB / 0.6198 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 0.000126/0.5423, allocations: 162.2 kB / 0.8275 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.5423, allocations: 25.55 kB / 0.8275 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.5428, allocations: 381.7 kB / 0.8278 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5429, allocations: 3.344 kB / 0.8279 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5429, allocations: 1.031 kB / 0.8279 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.5429, allocations: 5.391 kB / 0.8279 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.5431, allocations: 309.5 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5431, allocations: 0 / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.5433, allocations: 52.39 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5433, allocations: 5.281 kB / 0.8282 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.5433, allocations: 14.14 kB / 0.8282 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5433, allocations: 2.031 kB / 0.8282 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5433, allocations: 1.281 kB / 0.8282 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.5436, allocations: 328 kB / 0.8285 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.5437, allocations: 66.39 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.5438, allocations: 7 kB / 0.8286 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.5439, allocations: 16.97 kB / 0.8286 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.5439, allocations: 30.97 kB / 0.8287 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.5439, allocations: 10.62 kB / 0.8287 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001705/0.5441, allocations: 246.5 kB / 0.8289 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.5441, allocations: 3.938 kB / 0.8289 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002898/0.5444, allocations: 74.92 kB / 0.829 GB, free: 10.65 MB / 0.6198 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.001399/0.5458, allocations: 1.207 MB / 0.8302 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.5462, allocations: 215.7 kB / 0.8304 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5462, allocations: 0 / 0.8304 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.5463, allocations: 118.8 kB / 0.8305 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.5465, allocations: 44.69 kB / 0.8305 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.549, allocations: 2.503 MB / 0.833 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.5492, allocations: 0.7608 MB / 0.8337 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.5495, allocations: 144.8 kB / 0.8338 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.5496, allocations: 97.97 kB / 0.8339 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of SimCode: time 7.61e-07/0.5496, allocations: 0 / 0.8339 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.5765, allocations: 6.275 MB / 0.8401 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.44, allocations: 15.36 kB / 0.8401 GB, free: 5.242 MB / 0.6198 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.563256709137931] Failed to read output from testmodel.py, exit status != 0: 7.573640701826662 7.589483145 7.050770269 Calling exit ...