Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007396/0.0007396, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007607/0.0007607, allocations: 178.2 kB / 23.22 MB, free: 1.344 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.8618/0.8618, allocations: 177.1 MB / 203.5 MB, free: 5.707 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.7205/0.7205, allocations: 154.6 MB / 414.5 MB, free: 0.793 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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/3e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00137/0.0014, allocations: 0.7213 MB / 0.62 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.002463, allocations: 1.104 MB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.002511, allocations: 7.938 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.00254, allocations: 3.938 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.002607, allocations: 15.81 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.002896, allocations: 51.81 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.002999, allocations: 71.72 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.003108, allocations: 16.16 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.003193, allocations: 43.91 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.003242, allocations: 27.95 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.003259, allocations: 4 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.353e-05/0.003313, allocations: 16 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.003336, allocations: 15.92 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.003372, allocations: 27.91 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.003516, allocations: 83.67 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.003521, allocations: 3.938 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/0.003522, allocations: 0 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.003527, allocations: 0 / 0.6215 GB, free: 10.91 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.0004407/0.003968, allocations: 302.1 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004005, allocations: 16.02 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.004051, allocations: 8.891 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.951e-05/0.004141, allocations: 117.7 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.004152, allocations: 4.375 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.004165, allocations: 8.375 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.004317, allocations: 66.22 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.004325, allocations: 192 / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.004334, allocations: 384 / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.00434, allocations: 4.125 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.004433, allocations: 51.95 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.004867, allocations: 256.3 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.004989, allocations: 50.56 kB / 0.6223 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.005044, allocations: 28.95 kB / 0.6224 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.005068, allocations: 7.938 kB / 0.6224 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.005237, allocations: 83.41 kB / 0.6225 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.005238, allocations: 0 / 0.6225 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002928/0.005531, allocations: 129.6 kB / 0.6226 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.005569, allocations: 55.41 kB / 0.6226 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.005646, allocations: 117.8 kB / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.005662, allocations: 33.69 kB / 0.6228 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.005706, allocations: 88.14 kB / 0.6229 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.005725, allocations: 19.86 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.005765, allocations: 29.7 kB / 0.6229 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.005852, allocations: 326.7 kB / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.005916, allocations: 27.98 kB / 0.6232 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.005999, allocations: 81.69 kB / 0.6233 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.006133, allocations: 101.9 kB / 0.6234 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.006136, allocations: 4 kB / 0.6234 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001824/0.006319, allocations: 137.5 kB / 0.6236 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.006333, allocations: 8.031 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.006339, allocations: 0 / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.006351, allocations: 4 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.006438, allocations: 23.92 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.006445, allocations: 4 kB / 0.6236 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.006486, allocations: 15.88 kB / 0.6236 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.006496, allocations: 7.938 kB / 0.6236 GB, free: 8.523 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.351e-05/0.00657, allocations: 118.8 kB / 0.6237 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.006579, allocations: 7.891 kB / 0.6237 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.006606, allocations: 20.42 kB / 0.6238 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.006609, allocations: 0 / 0.6238 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.006613, allocations: 0 / 0.6238 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006616, allocations: 0 / 0.6238 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.006922, allocations: 318.1 kB / 0.6241 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.006925, allocations: 4 kB / 0.6241 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.006951, allocations: 7.984 kB / 0.6241 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.006955, allocations: 4 kB / 0.6241 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.006962, allocations: 4 kB / 0.6241 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006963, allocations: 0 / 0.6241 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.006964, allocations: 0 / 0.6241 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.007131, allocations: 207.3 kB / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.00714, allocations: 11.89 kB / 0.6243 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.007152, allocations: 0 / 0.6243 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.007198, allocations: 11.98 kB / 0.6243 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.007232, allocations: 3.938 kB / 0.6243 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.007239, allocations: 4 kB / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.572e-05/0.007275, allocations: 95.27 kB / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007275, allocations: 0 / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001814/0.007457, allocations: 20 kB / 0.6244 GB, free: 7.637 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.0001442/0.007601, allocations: 99.23 kB / 0.6245 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.007773, allocations: 75.88 kB / 0.6246 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.007775, allocations: 448 / 0.6246 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.007847, allocations: 43.91 kB / 0.6246 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.008058, allocations: 12.55 kB / 0.6246 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/0.008677, allocations: 183.3 kB / 0.6248 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.008729, allocations: 71.33 kB / 0.6249 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.008758, allocations: 12.5 kB / 0.6249 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/0.008759, allocations: 0 / 0.6249 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of Templates: time 0.001974/0.01073, allocations: 1.087 MB / 0.626 GB, free: 6.012 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.961177820339799] Failed to read output from testmodel.py, exit status != 0: 0.016597476787865162 0.025056235000000003 0.019568849000000003 Calling exit ...