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.001267/0.001267, allocations: 78.33 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001313/0.001313, allocations: 170.9 kB / 22.46 MB, free: 5.371 MB / 14.72 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 1.404/1.404, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.242/1.242, allocations: 154.7 MB / 414 MB, free: 5.176 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 4.969e-06/4.969e-06, allocations: 0 / 0.6187 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.641e-05, allocations: 4.812 kB / 0.6187 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002024/0.00206, allocations: 0.7107 MB / 0.6194 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.004058, allocations: 1.214 MB / 0.6206 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.004121, allocations: 4 kB / 0.6206 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.004157, allocations: 7.922 kB / 0.6206 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.004246, allocations: 10.34 kB / 0.6206 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.004846, allocations: 147.2 kB / 0.6208 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.005061, allocations: 123.7 kB / 0.6209 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.005169, allocations: 8 kB / 0.6209 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.00533, allocations: 71.88 kB / 0.621 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005436, allocations: 35.88 kB / 0.621 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.005473, allocations: 12 kB / 0.621 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/0.005557, allocations: 31.97 kB / 0.621 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.00558, allocations: 4 kB / 0.621 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.005651, allocations: 39.89 kB / 0.6211 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.005896, allocations: 131.7 kB / 0.6212 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005899, allocations: 0 / 0.6212 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.72e-07/0.0059, allocations: 0 / 0.6212 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.005906, allocations: 0 / 0.6212 GB, free: 2.039 MB / 0.5294 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.0007324/0.006639, allocations: 339.8 kB / 0.6215 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.006689, allocations: 12.03 kB / 0.6215 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.006812, allocations: 12.83 kB / 0.6216 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.006934, allocations: 117.6 kB / 0.6217 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.006954, allocations: 4.375 kB / 0.6217 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.006987, allocations: 8.375 kB / 0.6217 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.007204, allocations: 62.22 kB / 0.6217 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.007215, allocations: 192 / 0.6217 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.00723, allocations: 4.375 kB / 0.6217 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.007237, allocations: 8.359 kB / 0.6218 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.007418, allocations: 43.91 kB / 0.6218 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.007933, allocations: 248.4 kB / 0.622 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.008115, allocations: 46.55 kB / 0.6221 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.008217, allocations: 32.92 kB / 0.6221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.008243, allocations: 0 / 0.6221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.008527, allocations: 103.4 kB / 0.6222 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.008529, allocations: 0 / 0.6222 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004958/0.009025, allocations: 137.5 kB / 0.6223 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.009091, allocations: 51.41 kB / 0.6224 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.0092, allocations: 109.8 kB / 0.6225 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.009234, allocations: 33.7 kB / 0.6225 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.009312, allocations: 96.08 kB / 0.6226 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.009334, allocations: 15.84 kB / 0.6226 GB, free: 432 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.009409, allocations: 37.7 kB / 0.6227 GB, free: 388 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.009561, allocations: 318.8 kB / 0.623 GB, free: 60 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.009763, allocations: 77.73 kB / 0.623 GB, free: 15.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.00998, allocations: 109 kB / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.01026, allocations: 125.1 kB / 0.6233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01026, allocations: 4 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004659/0.01073, allocations: 244.7 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.01077, allocations: 37.69 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01078, allocations: 0 / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.0108, allocations: 0 / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.0109, allocations: 16.45 kB / 0.6236 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.01091, allocations: 7.938 kB / 0.6236 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.01112, allocations: 36.02 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.01114, allocations: 4 kB / 0.6236 GB, free: 15.34 MB / 0.545 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 0.0001237/0.01126, allocations: 122.8 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.01128, allocations: 15.83 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.0116, allocations: 114.1 kB / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.0116, allocations: 0 / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01161, allocations: 0 / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01161, allocations: 8 kB / 0.6238 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.01206, allocations: 306.1 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01206, allocations: 0 / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.01212, allocations: 8 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01212, allocations: 0 / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01213, allocations: 3.984 kB / 0.6242 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.01214, allocations: 8 kB / 0.6242 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01214, allocations: 0 / 0.6242 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.01247, allocations: 207.9 kB / 0.6244 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.01248, allocations: 3.953 kB / 0.6244 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.0125, allocations: 7.938 kB / 0.6244 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/0.01259, allocations: 11.98 kB / 0.6244 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.01264, allocations: 3.984 kB / 0.6244 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.01265, allocations: 4 kB / 0.6244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.779e-05/0.01271, allocations: 87.28 kB / 0.6245 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01271, allocations: 0 / 0.6245 GB, free: 14.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002751/0.01298, allocations: 27.92 kB / 0.6245 GB, free: 14.35 MB / 0.545 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.0001736/0.01315, allocations: 103.2 kB / 0.6246 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.01358, allocations: 185 kB / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01358, allocations: 0 / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.01372, allocations: 36.03 kB / 0.6248 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.01401, allocations: 20.33 kB / 0.6248 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.01448, allocations: 160.7 kB / 0.625 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.695e-05/0.01455, allocations: 71.28 kB / 0.625 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.01459, allocations: 7.984 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.01462, allocations: 12.5 kB / 0.6251 GB, free: 13.69 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.01462, allocations: 3.938 kB / 0.6251 GB, free: 13.69 MB / 0.545 GB Notification: Performance of Templates: time 0.005194/0.01982, allocations: 1.51 MB / 0.6265 GB, free: 12.23 MB / 0.545 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.98576988466084] Failed to read output from testmodel.py, exit status != 0: 0.029362017288804054 0.045466549 0.036298323 Calling exit ...