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.0007774/0.0007774, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008679/0.0008679, allocations: 208.1 kB / 22.25 MB, free: 3.574 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 0.9359/0.9359, allocations: 230.6 MB / 256 MB, free: 9.625 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.7577/0.7577, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.0008927/0.0008927, allocations: 65.86 kB / 0.7182 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.523, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002129/0.5251, allocations: 1.665 MB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.5266, allocations: 1.353 MB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.5266, allocations: 1.375 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.5268, allocations: 34.23 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.5271, allocations: 114.5 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.5274, allocations: 140.2 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.5276, allocations: 242.8 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.5277, allocations: 16.09 kB / 0.8213 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/0.5278, allocations: 85.31 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.5279, allocations: 94.17 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.528, allocations: 19.25 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.5281, allocations: 114.3 kB / 0.8216 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.5282, allocations: 82.91 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.5282, allocations: 83.86 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.5286, allocations: 344.2 kB / 0.8221 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5286, allocations: 0 / 0.8221 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5286, allocations: 0 / 0.8221 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.5286, allocations: 0 / 0.8221 GB, free: 14.4 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.000633/0.5292, allocations: 0.4894 MB / 0.8225 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5293, allocations: 10 kB / 0.8226 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.5293, allocations: 47.95 kB / 0.8226 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.5294, allocations: 33.41 kB / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.5296, allocations: 216.2 kB / 0.8228 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5296, allocations: 9.875 kB / 0.8228 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.5297, allocations: 19.28 kB / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.53, allocations: 295.1 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.53, allocations: 0.7031 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.53, allocations: 5.25 kB / 0.8231 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.53, allocations: 3.844 kB / 0.8232 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/0.5308, allocations: 0.6876 MB / 0.8238 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.5314, allocations: 0.5185 MB / 0.8243 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.5318, allocations: 274.2 kB / 0.8246 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.5319, allocations: 92.8 kB / 0.8247 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.5319, allocations: 25.56 kB / 0.8247 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.5322, allocations: 179 kB / 0.8249 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/0.5322, allocations: 0 / 0.8249 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0004814/0.5327, allocations: 371.7 kB / 0.8252 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.5327, allocations: 135.2 kB / 0.8254 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.533, allocations: 313.4 kB / 0.8257 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.533, allocations: 31.92 kB / 0.8257 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.5331, allocations: 135 kB / 0.8258 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.5331, allocations: 108.2 kB / 0.8259 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.5332, allocations: 69.92 kB / 0.826 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004168/0.5336, allocations: 339.1 kB / 0.8263 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.5337, allocations: 84.08 kB / 0.8264 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.5339, allocations: 203.9 kB / 0.8266 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.5341, allocations: 215.3 kB / 0.8268 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5341, allocations: 5.281 kB / 0.8268 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003214/0.5345, allocations: 283.7 kB / 0.8271 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5345, allocations: 6.312 kB / 0.8271 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5345, allocations: 0 / 0.8271 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5345, allocations: 1.703 kB / 0.8271 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.5346, allocations: 60.48 kB / 0.8271 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5347, allocations: 1.531 kB / 0.8271 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.5347, allocations: 40.12 kB / 0.8272 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.5348, allocations: 13.08 kB / 0.8272 GB, free: 11.34 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.0001087/0.5349, allocations: 163 kB / 0.8273 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.5349, allocations: 25.23 kB / 0.8274 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.5354, allocations: 382.7 kB / 0.8277 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5354, allocations: 4.156 kB / 0.8277 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5354, allocations: 0 / 0.8277 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.5354, allocations: 5.297 kB / 0.8277 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.5356, allocations: 284.4 kB / 0.828 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5356, allocations: 0 / 0.828 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5357, allocations: 56.47 kB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5357, allocations: 2.844 kB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.5357, allocations: 13.92 kB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5357, allocations: 1.125 kB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5357, allocations: 1.219 kB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.5361, allocations: 330.3 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.5362, allocations: 65.3 kB / 0.8285 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.5362, allocations: 7.094 kB / 0.8285 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.5363, allocations: 13.77 kB / 0.8285 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.5363, allocations: 30.92 kB / 0.8285 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.5363, allocations: 15 kB / 0.8285 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001685/0.5365, allocations: 237.7 kB / 0.8287 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5365, allocations: 4.594 kB / 0.8288 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002548/0.5367, allocations: 78.75 kB / 0.8288 GB, free: 10.42 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.001332/0.5381, allocations: 1.23 MB / 0.83 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.5384, allocations: 220 kB / 0.8302 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5384, allocations: 4 kB / 0.8302 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.5385, allocations: 119.1 kB / 0.8304 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.5387, allocations: 46.42 kB / 0.8304 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.5408, allocations: 2.506 MB / 0.8328 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.541, allocations: 150.5 kB / 0.833 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.5412, allocations: 148 kB / 0.8331 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.5413, allocations: 104.3 kB / 0.8332 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5413, allocations: 0 / 0.8332 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.5623, allocations: 6.582 MB / 0.8397 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/7.195, allocations: 5.094 kB / 0.8397 GB, free: 5.23 MB / 0.6198 GB " [Timeout remaining time 653] (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.054000773001462] Failed to read output from testmodel.py, exit status != 0: 7.324263071175665 7.334897912 6.803999307 Calling exit ...