Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001342/0.001342, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.001521/0.001521, allocations: 163.6 kB / 22.46 MB, free: 5.355 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.177/1.177, allocations: 154.6 MB / 413.8 MB, free: 5.227 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.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.857e-06/3.857e-06, allocations: 0 / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.96e-05/5.346e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.003419/0.003472, allocations: 0.7169 MB / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002915/0.006388, allocations: 1.092 MB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.006467, allocations: 3.938 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.993e-05/0.006527, allocations: 11.92 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.006646, allocations: 11.88 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.007196, allocations: 51.77 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.007428, allocations: 75.75 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.007615, allocations: 12.19 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.007802, allocations: 39.91 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.007912, allocations: 23.95 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.007948, allocations: 8 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.008073, allocations: 15.98 kB / 0.6206 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.008121, allocations: 23.91 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.335e-05/0.008194, allocations: 23.92 kB / 0.6207 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.008529, allocations: 95.59 kB / 0.6208 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.008536, allocations: 0 / 0.6208 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.345e-06/0.008538, allocations: 0 / 0.6208 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.008558, allocations: 0 / 0.6208 GB, free: 2.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009493/0.009507, allocations: 302 kB / 0.621 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.009568, allocations: 12.03 kB / 0.6211 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.00964, allocations: 8.891 kB / 0.6211 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.009848, allocations: 116.7 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.009862, allocations: 384 / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.009895, allocations: 12.38 kB / 0.6212 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.01027, allocations: 70.11 kB / 0.6213 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.01028, allocations: 192 / 0.6213 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.01031, allocations: 8.359 kB / 0.6213 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.01032, allocations: 4.125 kB / 0.6213 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.01067, allocations: 43.95 kB / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.01176, allocations: 256.4 kB / 0.6216 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.01208, allocations: 54.55 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.01227, allocations: 28.95 kB / 0.6216 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.01231, allocations: 3.938 kB / 0.6216 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/0.01269, allocations: 79.33 kB / 0.6217 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.0127, allocations: 0 / 0.6217 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007759/0.01347, allocations: 133.7 kB / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.01355, allocations: 51.41 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.01373, allocations: 125.8 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.01377, allocations: 29.7 kB / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01389, allocations: 96.06 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.01393, allocations: 15.91 kB / 0.6221 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.01402, allocations: 25.7 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.01425, allocations: 318.8 kB / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.01445, allocations: 27.97 kB / 0.6225 GB, free: 400 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.01475, allocations: 77.98 kB / 0.6226 GB, free: 300 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.01523, allocations: 109.8 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.01524, allocations: 4 kB / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006494/0.01588, allocations: 129.4 kB / 0.6228 GB, free: 28 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.01591, allocations: 4 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.01592, allocations: 4 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.01595, allocations: 4 kB / 0.6228 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.01621, allocations: 24.19 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.01622, allocations: 4 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.01639, allocations: 19.83 kB / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.01642, allocations: 7.984 kB / 0.6229 GB, free: 15.96 MB / 0.545 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.0001876/0.01661, allocations: 120.8 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.01665, allocations: 11.89 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.0167, allocations: 8.438 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.0167, allocations: 4 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01671, allocations: 0 / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01672, allocations: 3.938 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.01757, allocations: 314.1 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01757, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.01769, allocations: 15.92 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.01769, allocations: 0 / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.01771, allocations: 4 kB / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01772, allocations: 0 / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01772, allocations: 0 / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.01829, allocations: 211.3 kB / 0.6235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.01833, allocations: 11.89 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01835, allocations: 0 / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.01851, allocations: 7.984 kB / 0.6235 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.01858, allocations: 11.98 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.0186, allocations: 0 / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001099/0.01871, allocations: 98.44 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.01871, allocations: 0 / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004903/0.0192, allocations: 16 kB / 0.6237 GB, free: 15.08 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: 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.0002822/0.01948, allocations: 111.2 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005195/0.02, allocations: 71.88 kB / 0.6238 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.02, allocations: 4 kB / 0.6238 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.02021, allocations: 27.97 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.02068, allocations: 16.38 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.02131, allocations: 169.4 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.02143, allocations: 75.08 kB / 0.6241 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.287e-05/0.02148, allocations: 4 kB / 0.6241 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.02154, allocations: 16.48 kB / 0.6241 GB, free: 14.53 MB / 0.545 GB Notification: Performance of SimCode: time 1.031e-06/0.02154, allocations: 4 kB / 0.6241 GB, free: 14.53 MB / 0.545 GB Notification: Performance of Templates: time 0.006972/0.02851, allocations: 1.015 MB / 0.6251 GB, free: 13.57 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.780145723372698] Failed to read output from testmodel.py, exit status != 0: 0.04383959248661995 0.071254758 0.056890406000000004 Calling exit ...