Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009118/0.0009118, allocations: 80.45 kB / 19.9 MB, free: 12 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.001484/0.001484, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.9529/0.9529, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7371/0.7371, allocations: 154.7 MB / 414.7 MB, free: 0.7734 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_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.001187/0.001187, allocations: 69.92 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5156, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001545/0.5171, allocations: 0.6993 MB / 0.7198 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.5184, allocations: 1.226 MB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.5184, allocations: 0 / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.5185, allocations: 4.734 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.5185, allocations: 8.109 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.519, allocations: 159.2 kB / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.5192, allocations: 117.4 kB / 0.7212 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.5193, allocations: 10.77 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.5194, allocations: 67.91 kB / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.985e-05/0.5195, allocations: 40.75 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.5195, allocations: 14.52 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.5196, allocations: 29.28 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.5196, allocations: 9.781 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.5197, allocations: 38.11 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.5199, allocations: 112.5 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5199, allocations: 1.219 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5199, allocations: 7.938 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.5199, allocations: 0 / 0.7216 GB, free: 22.04 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.0005099/0.5204, allocations: 337 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5204, allocations: 9.312 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.5205, allocations: 11.33 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.801e-05/0.5206, allocations: 107.3 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5206, allocations: 4.344 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.5206, allocations: 6.469 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.5208, allocations: 68.8 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5208, allocations: 5.344 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5208, allocations: 4.5 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5208, allocations: 1.281 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.5209, allocations: 42.86 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.5213, allocations: 256.8 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.5214, allocations: 54.62 kB / 0.7224 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.5215, allocations: 40.3 kB / 0.7225 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.5215, allocations: 1.219 kB / 0.7225 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.5217, allocations: 83.06 kB / 0.7225 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.5217, allocations: 0 / 0.7225 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003221/0.522, allocations: 140 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.522, allocations: 57.34 kB / 0.7227 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.5221, allocations: 113.8 kB / 0.7228 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.5221, allocations: 32.98 kB / 0.7229 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.5222, allocations: 93.75 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.5222, allocations: 12.38 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.5222, allocations: 35.55 kB / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.5223, allocations: 319.4 kB / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.5224, allocations: 76.8 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.5225, allocations: 105.3 kB / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.5227, allocations: 146.5 kB / 0.7236 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5227, allocations: 1 kB / 0.7236 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002795/0.523, allocations: 236 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.523, allocations: 38.62 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.523, allocations: 1 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.523, allocations: 1.469 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.5231, allocations: 17.83 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5231, allocations: 1.094 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.5232, allocations: 34.22 kB / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.5232, allocations: 7.438 kB / 0.7239 GB, free: 20.06 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.955e-05/0.5233, allocations: 122.2 kB / 0.7241 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.5233, allocations: 7.172 kB / 0.7241 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.5235, allocations: 122.6 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.5235, allocations: 1.25 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5235, allocations: 0 / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5235, allocations: 0.8906 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.5237, allocations: 306.2 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5238, allocations: 4.594 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.5238, allocations: 9.266 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5238, allocations: 1.891 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.5238, allocations: 4.969 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5238, allocations: 0.8438 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5238, allocations: 1.031 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.524, allocations: 207.1 kB / 0.7247 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.524, allocations: 6.891 kB / 0.7247 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.524, allocations: 6.391 kB / 0.7247 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.524, allocations: 6.547 kB / 0.7247 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.5241, allocations: 5.703 kB / 0.7247 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.5241, allocations: 3.031 kB / 0.7247 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.5241, allocations: 96.84 kB / 0.7248 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5241, allocations: 1.219 kB / 0.7248 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001776/0.5243, allocations: 23.28 kB / 0.7248 GB, free: 19.35 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.0001176/0.5244, allocations: 106.1 kB / 0.7249 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.5247, allocations: 183.5 kB / 0.7251 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5247, allocations: 5.594 kB / 0.7251 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.5248, allocations: 39.06 kB / 0.7252 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.525, allocations: 7.641 kB / 0.7252 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.5253, allocations: 170.5 kB / 0.7253 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.5253, allocations: 69.72 kB / 0.7254 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.5254, allocations: 4.188 kB / 0.7254 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.5254, allocations: 16.89 kB / 0.7254 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.5254, allocations: 0 / 0.7254 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.003841/0.5292, allocations: 1.525 MB / 0.7269 GB, free: 18.73 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.381077930913307] Failed to read output from testmodel.py, exit status != 0: 0.5354225939372554 0.5455913059999999 0.023802308 Calling exit ...