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.0007807/0.0007807, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008028/0.0008028, allocations: 207.8 kB / 23 MB, free: 3.121 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.9024/0.9024, allocations: 230.6 MB / 256.8 MB, free: 3.484 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.7429/0.7429, allocations: 203.8 MB / 0.5049 GB, free: 0.7461 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: translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [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.0009024/0.0009024, allocations: 68.17 kB / 0.7194 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4284, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00164/0.4301, allocations: 0.7186 MB / 0.8198 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.4314, allocations: 1.239 MB / 0.821 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.4314, allocations: 1.281 kB / 0.821 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.4314, allocations: 5.625 kB / 0.821 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.4315, allocations: 11.36 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.432, allocations: 146.1 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.4322, allocations: 126.2 kB / 0.8213 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.4323, allocations: 11.83 kB / 0.8213 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/0.4324, allocations: 51.84 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.4325, allocations: 41.47 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.4325, allocations: 10.34 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.4326, allocations: 27.91 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.4326, allocations: 20.95 kB / 0.8214 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.4327, allocations: 38.14 kB / 0.8215 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.4329, allocations: 124.1 kB / 0.8216 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4329, allocations: 1.219 kB / 0.8216 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4329, allocations: 1.062 kB / 0.8216 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4329, allocations: 0 / 0.8216 GB, free: 23.65 MB / 0.6355 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.0004544/0.4333, allocations: 328.6 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4334, allocations: 11.88 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.397e-05/0.4335, allocations: 12.09 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.218e-05/0.4335, allocations: 115.4 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4335, allocations: 10.08 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4336, allocations: 6.156 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.4337, allocations: 69.23 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4337, allocations: 2.25 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4337, allocations: 4.969 kB / 0.8221 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4337, allocations: 5.094 kB / 0.8221 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4338, allocations: 42.84 kB / 0.8222 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.4342, allocations: 289.9 kB / 0.8224 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.4344, allocations: 52.84 kB / 0.8225 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.4344, allocations: 31.47 kB / 0.8225 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.4344, allocations: 0.75 kB / 0.8225 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.4346, allocations: 86.81 kB / 0.8226 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.4346, allocations: 0 / 0.8226 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003044/0.4349, allocations: 139.6 kB / 0.8227 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.4349, allocations: 56.59 kB / 0.8228 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.435, allocations: 114.1 kB / 0.8229 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.435, allocations: 32.02 kB / 0.8229 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.435, allocations: 97.28 kB / 0.823 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.4351, allocations: 16.91 kB / 0.823 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.4351, allocations: 39.53 kB / 0.8231 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.4352, allocations: 326.5 kB / 0.8234 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.4353, allocations: 47.73 kB / 0.8234 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.4354, allocations: 72.33 kB / 0.8235 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.4355, allocations: 135.9 kB / 0.8236 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4355, allocations: 5.094 kB / 0.8236 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002822/0.4358, allocations: 200.6 kB / 0.8238 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.4359, allocations: 38.98 kB / 0.8239 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4359, allocations: 0.5781 kB / 0.8239 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4359, allocations: 1.375 kB / 0.8239 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.436, allocations: 12.41 kB / 0.8239 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.436, allocations: 6.203 kB / 0.8239 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.4361, allocations: 34.12 kB / 0.8239 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.4361, allocations: 7.578 kB / 0.8239 GB, free: 21.76 MB / 0.6355 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 5.877e-05/0.4361, allocations: 124.4 kB / 0.824 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.4362, allocations: 10.23 kB / 0.824 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.4364, allocations: 116.2 kB / 0.8242 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4364, allocations: 6.531 kB / 0.8242 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4364, allocations: 4.469 kB / 0.8242 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4364, allocations: 0.6875 kB / 0.8242 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.4367, allocations: 332.8 kB / 0.8245 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4367, allocations: 3.938 kB / 0.8245 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.4367, allocations: 9.969 kB / 0.8245 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4367, allocations: 0.625 kB / 0.8245 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.4367, allocations: 5.891 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4367, allocations: 5.328 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4367, allocations: 0.5 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.4369, allocations: 202.9 kB / 0.8247 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.4369, allocations: 7.094 kB / 0.8247 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.437, allocations: 2.156 kB / 0.8247 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.437, allocations: 5.891 kB / 0.8247 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.437, allocations: 18.83 kB / 0.8247 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.437, allocations: 3.062 kB / 0.8247 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.031e-05/0.4371, allocations: 97.27 kB / 0.8248 GB, free: 21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4371, allocations: 0 / 0.8248 GB, free: 21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001906/0.4373, allocations: 19.58 kB / 0.8248 GB, free: 21 MB / 0.6355 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.0001131/0.4374, allocations: 101.9 kB / 0.8249 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.4376, allocations: 158.3 kB / 0.8251 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.4376, allocations: 1.125 kB / 0.8251 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.761e-05/0.4377, allocations: 35.02 kB / 0.8251 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.4379, allocations: 9.453 kB / 0.8251 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.4382, allocations: 189.8 kB / 0.8253 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.44e-05/0.4383, allocations: 0.6966 MB / 0.826 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.4383, allocations: 12.39 kB / 0.826 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/0.4383, allocations: 0 / 0.826 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.002597/0.4409, allocations: 1.213 MB / 0.8272 GB, free: 19.83 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.520527339074761] Failed to read output from testmodel.py, exit status != 0: 0.44631045404821634 0.45823066100000004 0.022951418 Calling exit ...