Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0008009/0.0008009, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.000876/0.000876, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9461/0.9461, 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.7933/0.7933, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",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.0009668/0.0009668, allocations: 70.78 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5325, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001475/0.534, allocations: 0.7103 MB / 0.8185 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.5352, allocations: 1.215 MB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.5352, allocations: 0.6875 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.5352, allocations: 4.734 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.5353, allocations: 8.547 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.5358, allocations: 151.8 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.536, allocations: 124.2 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.536, allocations: 18.78 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.5361, allocations: 40.75 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.5362, allocations: 42.98 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.5362, allocations: 11.12 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.5363, allocations: 23.09 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.5363, allocations: 13.08 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.5364, allocations: 39 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.5365, allocations: 121.8 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.5366, allocations: 1.984 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5366, allocations: 0 / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5366, allocations: 0 / 0.8202 GB, free: 15.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004616/0.537, allocations: 333.6 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.5371, allocations: 9.406 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.5371, allocations: 36.06 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.5372, allocations: 10.83 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.817e-05/0.5372, allocations: 108.9 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5373, allocations: 7.094 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.5373, allocations: 7.656 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.5374, allocations: 69.19 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5374, allocations: 3.938 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.5374, allocations: 4.516 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5375, allocations: 2.906 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.5376, allocations: 37.41 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.538, allocations: 287.3 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.5381, allocations: 55.75 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.5382, allocations: 31.83 kB / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.5382, allocations: 3.5 kB / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.5383, allocations: 79.2 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.5383, allocations: 0 / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003083/0.5387, allocations: 147 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.5387, allocations: 58.7 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.5388, allocations: 114.1 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.5388, allocations: 28.17 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.5388, allocations: 93.28 kB / 0.8217 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.5388, allocations: 16.03 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.5389, allocations: 32.39 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.539, allocations: 328.3 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.5391, allocations: 84.73 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.5392, allocations: 107.6 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.5393, allocations: 130.8 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5393, allocations: 1.156 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002686/0.5396, allocations: 225.6 kB / 0.8226 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.5396, allocations: 47.27 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5397, allocations: 1.062 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5397, allocations: 2.5 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.5397, allocations: 11.14 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.5397, allocations: 1.125 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.5398, allocations: 31.7 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.5399, allocations: 9.719 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 7.691e-05/0.5399, allocations: 135.7 kB / 0.8228 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.5399, allocations: 10.23 kB / 0.8228 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.5401, allocations: 110.2 kB / 0.8229 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5401, allocations: 1.094 kB / 0.8229 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5401, allocations: 3.453 kB / 0.8229 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5401, allocations: 0 / 0.8229 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.5404, allocations: 323.6 kB / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5404, allocations: 5.312 kB / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.5405, allocations: 17.61 kB / 0.8233 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5405, allocations: 0.75 kB / 0.8233 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5405, allocations: 5.766 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5405, allocations: 4.781 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5405, allocations: 3.938 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.5407, allocations: 209 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.5407, allocations: 6.578 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.5407, allocations: 2.406 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.5408, allocations: 15.19 kB / 0.8235 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.5408, allocations: 8.734 kB / 0.8235 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.5408, allocations: 3.375 kB / 0.8235 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.5409, allocations: 92.38 kB / 0.8236 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5409, allocations: 0 / 0.8236 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001822/0.5411, allocations: 21.67 kB / 0.8236 GB, free: 12.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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003929/0.5414, allocations: 0.7319 MB / 0.8243 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.5417, allocations: 187.5 kB / 0.8245 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5417, allocations: 0.9688 kB / 0.8245 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.25e-05/0.5418, allocations: 41.86 kB / 0.8245 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.542, allocations: 12.72 kB / 0.8246 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.5434, allocations: 1.763 MB / 0.8263 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.992e-05/0.5434, allocations: 69.88 kB / 0.8263 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.5434, allocations: 4.516 kB / 0.8264 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.5435, allocations: 19.98 kB / 0.8264 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.5435, allocations: 4 kB / 0.8264 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.5583, allocations: 3.081 MB / 0.8294 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.389/6.948, allocations: 16.12 kB / 0.8294 GB, free: 9.266 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.88048126688227] Failed to read output from testmodel.py, exit status != 0: 7.026541238185018 7.041043343 6.502311091 Calling exit ...