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.0006629/0.0006629, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0006981/0.0006981, allocations: 213 kB / 23 MB, free: 2.98 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.8245/0.8245, allocations: 230.6 MB / 256.8 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.7008/0.7008, allocations: 203.8 MB / 0.5049 GB, free: 10.42 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.0008491/0.0008491, allocations: 66.81 kB / 0.7194 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4111, allocations: 102 MB / 0.819 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001306/0.4124, allocations: 0.7123 MB / 0.8197 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.4134, allocations: 1.211 MB / 0.8209 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.4135, allocations: 0 / 0.8209 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.4135, allocations: 10.28 kB / 0.8209 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.013e-05/0.4136, allocations: 7.172 kB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.414, allocations: 154.9 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.4142, allocations: 119.2 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.4143, allocations: 13.03 kB / 0.8212 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.4144, allocations: 44.64 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.4145, allocations: 41.67 kB / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.4145, allocations: 9.75 kB / 0.8213 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.4145, allocations: 29.92 kB / 0.8213 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.4146, allocations: 13.31 kB / 0.8213 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.4146, allocations: 39.19 kB / 0.8213 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.4148, allocations: 118 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4148, allocations: 0 / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4148, allocations: 1.656 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4148, allocations: 0 / 0.8214 GB, free: 15.79 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.0004669/0.4153, allocations: 331.1 kB / 0.8218 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.4153, allocations: 10.16 kB / 0.8218 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.4154, allocations: 12.25 kB / 0.8218 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.79e-05/0.4155, allocations: 120 kB / 0.8219 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4155, allocations: 7.844 kB / 0.8219 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.4155, allocations: 6.859 kB / 0.8219 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.4156, allocations: 64.53 kB / 0.822 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4156, allocations: 4.734 kB / 0.822 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.4157, allocations: 3.938 kB / 0.822 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4157, allocations: 3.062 kB / 0.822 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.4158, allocations: 37.47 kB / 0.822 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.4161, allocations: 255.4 kB / 0.8223 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.4162, allocations: 57.5 kB / 0.8223 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.4163, allocations: 30.5 kB / 0.8223 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4163, allocations: 1.281 kB / 0.8223 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.4165, allocations: 87.56 kB / 0.8224 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4165, allocations: 0 / 0.8224 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003033/0.4168, allocations: 141 kB / 0.8226 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.4168, allocations: 60.48 kB / 0.8226 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.4169, allocations: 114 kB / 0.8227 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.4169, allocations: 28.58 kB / 0.8228 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.417, allocations: 100.3 kB / 0.8229 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.417, allocations: 16 kB / 0.8229 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.4171, allocations: 32.95 kB / 0.8229 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.4171, allocations: 325 kB / 0.8232 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.4173, allocations: 85.61 kB / 0.8233 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4174, allocations: 107.8 kB / 0.8234 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4175, allocations: 133.5 kB / 0.8235 GB, free: 14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4175, allocations: 1.344 kB / 0.8235 GB, free: 14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002757/0.4178, allocations: 228.1 kB / 0.8237 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.4178, allocations: 37.58 kB / 0.8238 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4178, allocations: 2.969 kB / 0.8238 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4179, allocations: 1.594 kB / 0.8238 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.4179, allocations: 16.3 kB / 0.8238 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4179, allocations: 2.438 kB / 0.8238 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.418, allocations: 29.81 kB / 0.8238 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.4181, allocations: 19.8 kB / 0.8238 GB, free: 13.81 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 6.954e-05/0.4181, allocations: 124 kB / 0.824 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.4181, allocations: 6.234 kB / 0.824 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.4183, allocations: 113.5 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4183, allocations: 1.25 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4183, allocations: 0.7031 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4183, allocations: 1.156 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.4186, allocations: 310.2 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4186, allocations: 1.125 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.4186, allocations: 13.23 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4186, allocations: 0.9375 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.4186, allocations: 1.125 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4186, allocations: 2.562 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4187, allocations: 0 / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.4188, allocations: 210.6 kB / 0.8246 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.4188, allocations: 11.17 kB / 0.8246 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.4188, allocations: 2.234 kB / 0.8246 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.4189, allocations: 11.14 kB / 0.8246 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.4189, allocations: 13.45 kB / 0.8246 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4189, allocations: 2.172 kB / 0.8246 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.419, allocations: 90.28 kB / 0.8247 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.419, allocations: 0 / 0.8247 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001746/0.4191, allocations: 20.7 kB / 0.8247 GB, free: 13.1 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.0001043/0.4192, allocations: 104.5 kB / 0.8248 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.4195, allocations: 192.4 kB / 0.825 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4195, allocations: 0 / 0.825 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.4196, allocations: 30.83 kB / 0.8251 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.4198, allocations: 17.03 kB / 0.8251 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.4201, allocations: 187.7 kB / 0.8252 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.558e-05/0.4201, allocations: 78.28 kB / 0.8253 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.4202, allocations: 15.66 kB / 0.8253 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of SimCode: time 4.2e-07/0.4202, allocations: 0 / 0.8253 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.002389/0.4226, allocations: 1.217 MB / 0.8265 GB, free: 12.51 MB / 0.6198 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.087775476742536] Failed to read output from testmodel.py, exit status != 0: 0.42790501192212105 0.437943291 0.021302548 Calling exit ...