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.000985/0.000985, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007341/0.0007341, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8443/0.8443, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.698/0.698, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.894e-05, allocations: 10.28 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001618/0.001637, allocations: 0.6971 MB / 0.62 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.003231, allocations: 1.225 MB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.003279, allocations: 4 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.00331, allocations: 3.938 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.003379, allocations: 11.86 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.003879, allocations: 146.3 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004052, allocations: 115.8 kB / 0.6215 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.004147, allocations: 11.97 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.004271, allocations: 63.95 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.522e-05/0.004367, allocations: 35.88 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.004392, allocations: 19.94 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.004464, allocations: 27.98 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.004486, allocations: 4 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.004547, allocations: 39.89 kB / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.00475, allocations: 143.5 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004752, allocations: 0 / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004753, allocations: 0 / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004758, allocations: 0 / 0.6218 GB, free: 10.64 MB / 0.5886 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.0005255/0.005283, allocations: 327.9 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005319, allocations: 12.03 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.142e-05/0.00541, allocations: 12.89 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.259e-05/0.005493, allocations: 113.7 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.005511, allocations: 8.359 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.005534, allocations: 12.36 kB / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.005705, allocations: 66.16 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005713, allocations: 192 / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.005726, allocations: 8.375 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.005731, allocations: 384 / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.005867, allocations: 47.89 kB / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.006283, allocations: 248.5 kB / 0.6226 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.006414, allocations: 42.59 kB / 0.6227 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.006478, allocations: 28.83 kB / 0.6227 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.006496, allocations: 0 / 0.6227 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.00666, allocations: 99.25 kB / 0.6228 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.006661, allocations: 4 kB / 0.6228 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000358/0.007019, allocations: 129.6 kB / 0.6229 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.00706, allocations: 59.41 kB / 0.623 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.693e-05/0.007137, allocations: 113.8 kB / 0.6231 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.007162, allocations: 34.08 kB / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.007214, allocations: 92.09 kB / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.007233, allocations: 11.84 kB / 0.6232 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.007301, allocations: 41.69 kB / 0.6232 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002934/0.007594, allocations: 322.8 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.007747, allocations: 77.66 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.007895, allocations: 109 kB / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.008107, allocations: 129 kB / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.008109, allocations: 0 / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000377/0.008486, allocations: 240.8 kB / 0.6241 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.008519, allocations: 33.7 kB / 0.6241 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.008524, allocations: 0 / 0.6241 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.008536, allocations: 3.938 kB / 0.6241 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.008615, allocations: 19.98 kB / 0.6241 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.00862, allocations: 0 / 0.6241 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.008768, allocations: 31.95 kB / 0.6242 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.008786, allocations: 12.06 kB / 0.6242 GB, free: 7.953 MB / 0.5886 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 8.236e-05/0.008868, allocations: 125.9 kB / 0.6243 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.008883, allocations: 11.89 kB / 0.6243 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.009122, allocations: 114 kB / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.009124, allocations: 0 / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.00913, allocations: 4 kB / 0.6244 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.009133, allocations: 0 / 0.6244 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.009441, allocations: 306.1 kB / 0.6247 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009443, allocations: 0 / 0.6247 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.009487, allocations: 15.92 kB / 0.6247 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.009489, allocations: 0 / 0.6247 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.009497, allocations: 0 / 0.6247 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.009498, allocations: 4.469 kB / 0.6247 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009499, allocations: 0 / 0.6247 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.009725, allocations: 211.4 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.009733, allocations: 8.047 kB / 0.6249 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.009749, allocations: 7.984 kB / 0.6249 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.009824, allocations: 11.98 kB / 0.625 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.009859, allocations: 3.984 kB / 0.625 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.009867, allocations: 4 kB / 0.625 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.009916, allocations: 95.3 kB / 0.6251 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.009916, allocations: 0 / 0.6251 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003019/0.01022, allocations: 23.94 kB / 0.6251 GB, free: 6.957 MB / 0.5886 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.0001193/0.01034, allocations: 103.2 kB / 0.6252 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.01065, allocations: 185 kB / 0.6254 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01065, allocations: 3.938 kB / 0.6254 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.01074, allocations: 31.97 kB / 0.6254 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.01102, allocations: 19.92 kB / 0.6254 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.01136, allocations: 178.7 kB / 0.6256 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.527e-05/0.01142, allocations: 75.33 kB / 0.6257 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.01144, allocations: 12.5 kB / 0.6257 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.01144, allocations: 0 / 0.6257 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of Templates: time 0.002633/0.01408, allocations: 1.223 MB / 0.6269 GB, free: 5.078 MB / 0.5886 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: 4.85387821868062] Failed to read output from testmodel.py, exit status != 0: 0.019778295420110226 0.030163877000000002 0.023710996 Calling exit ...