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.0009034/0.0009034, allocations: 76.45 kB / 19.9 MB, free: 16 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.001075/0.001075, allocations: 169.8 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.9382/0.9382, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.7678/0.7678, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.0009702/0.0009702, allocations: 67.84 kB / 0.6195 GB, free: 13.17 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.5766/0.5776, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001631/0.5792, allocations: 0.6999 MB / 0.7198 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.5806, allocations: 1.218 MB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.5807, allocations: 1.406 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.5807, allocations: 8.594 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.5808, allocations: 10.52 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.5813, allocations: 150 kB / 0.7211 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.5815, allocations: 115.8 kB / 0.7212 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.5816, allocations: 14.64 kB / 0.7212 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.5818, allocations: 69.06 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.5819, allocations: 37.47 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.5819, allocations: 10.72 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.582, allocations: 32.8 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.582, allocations: 13.69 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.5821, allocations: 37.72 kB / 0.7214 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.5823, allocations: 112.6 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5823, allocations: 5.062 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.835e-06/0.5823, allocations: 0 / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.5823, allocations: 0 / 0.7215 GB, free: 22.03 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.0005355/0.5828, allocations: 336.8 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5829, allocations: 9.594 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.583, allocations: 11.17 kB / 0.7219 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.5831, allocations: 115.7 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.5831, allocations: 4.281 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.5831, allocations: 10.45 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.5833, allocations: 61.14 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5833, allocations: 192 / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.5833, allocations: 9 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5833, allocations: 1.641 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.5834, allocations: 38.28 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.5838, allocations: 264.7 kB / 0.7224 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.584, allocations: 51.48 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.584, allocations: 31.92 kB / 0.7225 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.584, allocations: 1.062 kB / 0.7225 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.5843, allocations: 91.19 kB / 0.7225 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.5843, allocations: 0 / 0.7225 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003815/0.5847, allocations: 139.1 kB / 0.7227 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.5847, allocations: 58.14 kB / 0.7227 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.5848, allocations: 114.3 kB / 0.7228 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.5848, allocations: 27.95 kB / 0.7229 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.5848, allocations: 94.02 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.5849, allocations: 15.31 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.5849, allocations: 33.7 kB / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.585, allocations: 319.5 kB / 0.7233 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5851, allocations: 83.92 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.5853, allocations: 109.3 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.5854, allocations: 134.4 kB / 0.7236 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5854, allocations: 5.25 kB / 0.7236 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003043/0.5857, allocations: 237.5 kB / 0.7238 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.5858, allocations: 37.36 kB / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5858, allocations: 2.891 kB / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5858, allocations: 1.094 kB / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.5859, allocations: 10.78 kB / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.5859, allocations: 3.094 kB / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.586, allocations: 33.06 kB / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.5861, allocations: 8.516 kB / 0.7239 GB, free: 20.05 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 7.625e-05/0.5861, allocations: 133.5 kB / 0.7241 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.5862, allocations: 6.875 kB / 0.7241 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.5864, allocations: 114.2 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5864, allocations: 1.25 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5864, allocations: 0 / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5864, allocations: 1.766 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.5867, allocations: 309.8 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5867, allocations: 1.312 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.5867, allocations: 9.422 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5867, allocations: 0 / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5868, allocations: 6.391 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5868, allocations: 0.5625 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5868, allocations: 1.656 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.5869, allocations: 210.5 kB / 0.7247 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.5869, allocations: 11.34 kB / 0.7247 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.587, allocations: 5.609 kB / 0.7247 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.587, allocations: 7.812 kB / 0.7247 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.5871, allocations: 4.672 kB / 0.7247 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.5871, allocations: 3.328 kB / 0.7247 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.5871, allocations: 89.14 kB / 0.7248 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5871, allocations: 0 / 0.7248 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001892/0.5873, allocations: 23.59 kB / 0.7248 GB, free: 19.34 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.0001239/0.5874, allocations: 107 kB / 0.7249 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.5877, allocations: 190.4 kB / 0.7251 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5877, allocations: 1.281 kB / 0.7251 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.426e-05/0.5878, allocations: 38.98 kB / 0.7252 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.588, allocations: 11.61 kB / 0.7252 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.5883, allocations: 161.4 kB / 0.7253 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.5884, allocations: 75.27 kB / 0.7254 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.5884, allocations: 3.906 kB / 0.7254 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.5884, allocations: 12.94 kB / 0.7254 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.5884, allocations: 0 / 0.7254 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.004243/0.5927, allocations: 1.522 MB / 0.7269 GB, free: 18.71 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.539214030955918] Failed to read output from testmodel.py, exit status != 0: 0.5996311260387301 0.6144123380000001 0.029561304000000004 Calling exit ...