Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0007605/0.0007605, allocations: 72.5 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.0007499/0.0007499, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8455/0.8455, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.6831/0.6831, allocations: 154.5 MB / 414.5 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.649e-06/4.649e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.82e-05, allocations: 4.953 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001515/0.001553, allocations: 0.7246 MB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.002746, allocations: 1.092 MB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.002795, allocations: 4 kB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.002825, allocations: 3.938 kB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.002905, allocations: 15.86 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.003262, allocations: 63 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.003367, allocations: 67.78 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003481, allocations: 16.11 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.003574, allocations: 43.95 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.003622, allocations: 23.91 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.003639, allocations: 8 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.003699, allocations: 19.92 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.003723, allocations: 15.92 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.003757, allocations: 19.97 kB / 0.6214 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.003919, allocations: 92.98 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.003923, allocations: 0 / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.164e-06/0.003925, allocations: 0 / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.00393, allocations: 0 / 0.6214 GB, free: 11.02 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004601/0.00439, allocations: 302.1 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.004433, allocations: 9.469 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.004478, allocations: 8.891 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.004581, allocations: 121.7 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.004594, allocations: 4.312 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.004607, allocations: 8.375 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.004768, allocations: 74.11 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.004777, allocations: 4.172 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.004788, allocations: 384 / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.004795, allocations: 8.125 kB / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.972e-05/0.004885, allocations: 39.97 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.005371, allocations: 252.4 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.005486, allocations: 62.55 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.005536, allocations: 28.95 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.005559, allocations: 11.92 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.005732, allocations: 75.38 kB / 0.6224 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.005734, allocations: 0 / 0.6224 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002984/0.006032, allocations: 129.6 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.006077, allocations: 59.39 kB / 0.6226 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.006162, allocations: 121 kB / 0.6227 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.00618, allocations: 29.7 kB / 0.6227 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.00623, allocations: 96.08 kB / 0.6228 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.006249, allocations: 15.83 kB / 0.6228 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.006294, allocations: 33.7 kB / 0.6229 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.006383, allocations: 318.8 kB / 0.6232 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.006449, allocations: 23.98 kB / 0.6232 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.00653, allocations: 81.98 kB / 0.6233 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.006666, allocations: 105.8 kB / 0.6234 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.006669, allocations: 4 kB / 0.6234 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001826/0.006851, allocations: 129.5 kB / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.006865, allocations: 7.938 kB / 0.6235 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.006875, allocations: 7.984 kB / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.006889, allocations: 0 / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.006988, allocations: 19.92 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.006996, allocations: 4.219 kB / 0.6235 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.00704, allocations: 19.94 kB / 0.6236 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.007051, allocations: 4 kB / 0.6236 GB, free: 8.637 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.796e-05/0.007129, allocations: 118.8 kB / 0.6237 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.007141, allocations: 7.891 kB / 0.6237 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.007167, allocations: 16.38 kB / 0.6237 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.00717, allocations: 0 / 0.6237 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.007176, allocations: 0 / 0.6237 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.00718, allocations: 3.984 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.007491, allocations: 326 kB / 0.624 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.007493, allocations: 4 kB / 0.624 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.007521, allocations: 7.938 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.007528, allocations: 4 kB / 0.624 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.007537, allocations: 3.984 kB / 0.624 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007538, allocations: 0 / 0.624 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.00754, allocations: 0 / 0.624 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.0077, allocations: 203.8 kB / 0.6242 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.007711, allocations: 11.95 kB / 0.6242 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.007724, allocations: 3.984 kB / 0.6242 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.007763, allocations: 4 kB / 0.6242 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.007802, allocations: 7.984 kB / 0.6243 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.007809, allocations: 4 kB / 0.6243 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.007847, allocations: 91.27 kB / 0.6243 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007847, allocations: 0 / 0.6243 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001855/0.008032, allocations: 20 kB / 0.6244 GB, free: 7.75 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.0001401/0.008173, allocations: 103.2 kB / 0.6245 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.008345, allocations: 75.89 kB / 0.6245 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008347, allocations: 0 / 0.6245 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.008406, allocations: 35.91 kB / 0.6246 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.00862, allocations: 15.94 kB / 0.6246 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.009231, allocations: 187.7 kB / 0.6248 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.884e-05/0.009279, allocations: 75.33 kB / 0.6248 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.009306, allocations: 12.5 kB / 0.6248 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.009307, allocations: 0 / 0.6248 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of Templates: time 0.002008/0.01132, allocations: 1.078 MB / 0.6259 GB, free: 6.121 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.929227357730269] Failed to read output from testmodel.py, exit status != 0: 0.016658388078212738 0.025455777000000002 0.019743256 Calling exit ...