Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001306/0.001306, allocations: 75.48 kB / 19.16 MB, free: 2.566 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.001481/0.001481, allocations: 166.9 kB / 22.44 MB, free: 5.309 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.391/1.391, allocations: 177.2 MB / 202.8 MB, free: 9.219 MB / 190.1 MB " [Timeout remaining time 178] 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 1.162/1.162, allocations: 155 MB / 414.2 MB, free: 4.961 MB / 382.1 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 178] 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [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.002064/0.002064, allocations: 73.52 kB / 0.6192 GB, free: 4.141 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5286, allocations: 102 MB / 0.7188 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001768/0.5304, allocations: 0.7276 MB / 0.7195 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.5315, allocations: 1.1 MB / 0.7205 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.5316, allocations: 5 kB / 0.7205 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.5316, allocations: 4.734 kB / 0.7205 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.5317, allocations: 19.38 kB / 0.7206 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.532, allocations: 51.53 kB / 0.7206 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.5321, allocations: 69.45 kB / 0.7207 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.5322, allocations: 16.81 kB / 0.7207 GB, free: 416 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.5323, allocations: 42.61 kB / 0.7207 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.5323, allocations: 27.8 kB / 0.7208 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.5323, allocations: 10.28 kB / 0.7208 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.09e-05/0.5324, allocations: 18.23 kB / 0.7208 GB, free: 376 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.5324, allocations: 10.23 kB / 0.7208 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.5325, allocations: 26.73 kB / 0.7208 GB, free: 356 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.5326, allocations: 96.06 kB / 0.7209 GB, free: 312 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5326, allocations: 0 / 0.7209 GB, free: 312 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5326, allocations: 0.5625 kB / 0.7209 GB, free: 312 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.5326, allocations: 0 / 0.7209 GB, free: 312 kB / 0.6075 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.0004415/0.5331, allocations: 310.9 kB / 0.7212 GB, free: 12 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.5331, allocations: 11.44 kB / 0.7212 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.5331, allocations: 9.656 kB / 0.7212 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5333, allocations: 116.2 kB / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.5333, allocations: 3.062 kB / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.5333, allocations: 7.094 kB / 0.7214 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.5335, allocations: 74.22 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5335, allocations: 3.938 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5335, allocations: 5.219 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.5335, allocations: 0 / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.5337, allocations: 48.11 kB / 0.7215 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.5343, allocations: 259.2 kB / 0.7217 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.5345, allocations: 57.56 kB / 0.7218 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.5346, allocations: 28.22 kB / 0.7218 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.5346, allocations: 1.312 kB / 0.7218 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.5348, allocations: 82.58 kB / 0.7219 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.5348, allocations: 0 / 0.7219 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0004577/0.5353, allocations: 131.8 kB / 0.722 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.5354, allocations: 53.55 kB / 0.7221 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.5355, allocations: 124.3 kB / 0.7222 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.5355, allocations: 31.14 kB / 0.7222 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.5356, allocations: 88.66 kB / 0.7223 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.5356, allocations: 14.17 kB / 0.7223 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.5356, allocations: 27.88 kB / 0.7223 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5358, allocations: 322.6 kB / 0.7226 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.5359, allocations: 31.72 kB / 0.7227 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.536, allocations: 75.98 kB / 0.7228 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.5363, allocations: 107.2 kB / 0.7229 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5363, allocations: 0.9375 kB / 0.7229 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003157/0.5366, allocations: 131.6 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5366, allocations: 5.156 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.5366, allocations: 6.781 kB / 0.723 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5366, allocations: 2.25 kB / 0.723 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.5368, allocations: 20.94 kB / 0.723 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5368, allocations: 7.219 kB / 0.723 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.972e-05/0.5369, allocations: 20.31 kB / 0.723 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.5369, allocations: 5.281 kB / 0.723 GB, free: 14.52 MB / 0.6231 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 0.0001045/0.537, allocations: 127.4 kB / 0.7232 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.537, allocations: 6.578 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.537, allocations: 10.88 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.537, allocations: 1.828 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.537, allocations: 1.594 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.537, allocations: 0.75 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.5375, allocations: 320.8 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5375, allocations: 0 / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.5376, allocations: 7.875 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5376, allocations: 1.812 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.5376, allocations: 1.062 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.5376, allocations: 4.734 kB / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5376, allocations: 1.406 kB / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.5379, allocations: 213.5 kB / 0.7237 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.5379, allocations: 14.08 kB / 0.7237 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.5379, allocations: 5.859 kB / 0.7237 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.538, allocations: 6.438 kB / 0.7237 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.538, allocations: 5.75 kB / 0.7237 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.5381, allocations: 6.219 kB / 0.7237 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.5381, allocations: 96.11 kB / 0.7238 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5381, allocations: 0 / 0.7238 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002649/0.5384, allocations: 21.03 kB / 0.7239 GB, free: 13.84 MB / 0.6231 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.0001473/0.5385, allocations: 108.4 kB / 0.724 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.5388, allocations: 73.44 kB / 0.724 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5388, allocations: 0 / 0.724 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.539, allocations: 34.55 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.5392, allocations: 7.391 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.5396, allocations: 163.6 kB / 0.7242 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.676e-05/0.5397, allocations: 81.47 kB / 0.7243 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.5397, allocations: 9.828 kB / 0.7243 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.5397, allocations: 17.8 kB / 0.7243 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.5397, allocations: 0 / 0.7243 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of Templates: time 0.004104/0.5438, allocations: 1.032 MB / 0.7253 GB, free: 13.36 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.042388482019305] Failed to read output from testmodel.py, exit status != 0: 0.5523640979081392 0.567978144 0.031750262 Calling exit ...