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.00133/0.00133, allocations: 82.41 kB / 19.18 MB, free: 2.363 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.001392/0.001392, allocations: 174.1 kB / 22.45 MB, free: 4.988 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.433/1.433, allocations: 177.2 MB / 202.8 MB, free: 9.188 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.167/1.167, allocations: 154.7 MB / 413.9 MB, free: 5.164 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 2.314e-06/2.314e-06, allocations: 0 / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.659e-05, allocations: 2.938 kB / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002164/0.002201, allocations: 0.7271 MB / 0.6195 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.004138, allocations: 1.09 MB / 0.6205 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.004194, allocations: 0 / 0.6205 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.004233, allocations: 11.81 kB / 0.6206 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.904e-05/0.004312, allocations: 8.438 kB / 0.6206 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.00466, allocations: 57.59 kB / 0.6206 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.004804, allocations: 67.83 kB / 0.6207 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.004926, allocations: 20.11 kB / 0.6207 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.005032, allocations: 39.91 kB / 0.6207 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.005093, allocations: 32.58 kB / 0.6208 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.005113, allocations: 4 kB / 0.6208 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.583e-05/0.005169, allocations: 16 kB / 0.6208 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.0052, allocations: 19.97 kB / 0.6208 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.005244, allocations: 19.92 kB / 0.6208 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.005422, allocations: 91.66 kB / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005425, allocations: 0 / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005426, allocations: 0 / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.005431, allocations: 0 / 0.6209 GB, free: 2.344 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.0005866/0.006018, allocations: 302 kB / 0.6212 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.006058, allocations: 8.031 kB / 0.6212 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.006114, allocations: 12.89 kB / 0.6212 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.006272, allocations: 121.7 kB / 0.6213 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.006285, allocations: 4.375 kB / 0.6213 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.006306, allocations: 4.375 kB / 0.6213 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.006539, allocations: 74.16 kB / 0.6214 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.006551, allocations: 192 / 0.6214 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.006564, allocations: 384 / 0.6214 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.006571, allocations: 4.125 kB / 0.6214 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.006744, allocations: 43.91 kB / 0.6215 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000661/0.007405, allocations: 256.5 kB / 0.6217 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.007608, allocations: 62.56 kB / 0.6218 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/0.007705, allocations: 28.95 kB / 0.6218 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.007729, allocations: 3.938 kB / 0.6218 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.00796, allocations: 79.33 kB / 0.6219 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.007961, allocations: 0 / 0.6219 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004569/0.008418, allocations: 133.6 kB / 0.622 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.008475, allocations: 59.34 kB / 0.6221 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.0086, allocations: 125.1 kB / 0.6222 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.008623, allocations: 33.7 kB / 0.6222 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.008686, allocations: 92.12 kB / 0.6223 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.008704, allocations: 7.906 kB / 0.6223 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.008776, allocations: 33.7 kB / 0.6223 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.008937, allocations: 318.8 kB / 0.6226 GB, free: 420 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.009044, allocations: 27.98 kB / 0.6227 GB, free: 392 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.00918, allocations: 73.98 kB / 0.6227 GB, free: 296 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.009421, allocations: 109.8 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.009423, allocations: 0 / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003115/0.009734, allocations: 133.4 kB / 0.623 GB, free: 24 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.009758, allocations: 11.98 kB / 0.623 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.009765, allocations: 0 / 0.623 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.009782, allocations: 4.219 kB / 0.623 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.009927, allocations: 19.98 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.009938, allocations: 7.938 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.01003, allocations: 19.88 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01004, allocations: 4 kB / 0.623 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.0001012/0.01014, allocations: 117.2 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.01016, allocations: 11.89 kB / 0.6232 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.453e-05/0.01019, allocations: 12.44 kB / 0.6232 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.0102, allocations: 0 / 0.6232 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.0102, allocations: 0 / 0.6232 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01021, allocations: 7.984 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.01069, allocations: 314.1 kB / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01069, allocations: 0 / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.01074, allocations: 8 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.01075, allocations: 0 / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01076, allocations: 11.92 kB / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01076, allocations: 3.938 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01076, allocations: 0 / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.01109, allocations: 211.3 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.0111, allocations: 11.88 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01112, allocations: 4 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.0112, allocations: 4 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.01124, allocations: 11.98 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.01125, allocations: 4 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.881e-05/0.01132, allocations: 91.27 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01132, allocations: 0 / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002447/0.01156, allocations: 12 kB / 0.6238 GB, free: 15.07 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.0001664/0.01173, allocations: 111.2 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.01201, allocations: 75.83 kB / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01201, allocations: 0 / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.01213, allocations: 31.97 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.01241, allocations: 16.38 kB / 0.6241 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.01279, allocations: 161.5 kB / 0.6242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.128e-05/0.01288, allocations: 79.08 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.788e-05/0.01291, allocations: 7.984 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.01294, allocations: 12.5 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.01294, allocations: 0 / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of Templates: time 0.004022/0.01697, allocations: 1.027 MB / 0.6253 GB, free: 13.56 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.637673584744334] Failed to read output from testmodel.py, exit status != 0: 0.025552811101078987 0.040038909000000004 0.031645606 Calling exit ...