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.0007551/0.0007551, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007593/0.0007593, allocations: 211.9 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8565/0.8565, allocations: 230.6 MB / 256.8 MB, free: 3.461 MB / 202.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.7442/0.7442, allocations: 203.8 MB / 0.5049 GB, free: 0.7109 MB / 410.7 MB " [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.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.001052/0.001052, allocations: 67.89 kB / 0.7195 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.409, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001456/0.4105, allocations: 0.7441 MB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.4114, allocations: 1.112 MB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.4115, allocations: 1.625 kB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.4115, allocations: 8.438 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.4116, allocations: 11.86 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.4119, allocations: 50.64 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.412, allocations: 74.38 kB / 0.8211 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4121, allocations: 16.55 kB / 0.8211 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/0.4121, allocations: 36.97 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.4122, allocations: 31.61 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.4122, allocations: 6.875 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.4123, allocations: 19.75 kB / 0.8212 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.4123, allocations: 21.42 kB / 0.8212 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.4123, allocations: 29.06 kB / 0.8212 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.4125, allocations: 80.78 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4125, allocations: 1.188 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4125, allocations: 0.6875 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.4125, allocations: 0.7188 kB / 0.8213 GB, free: 23.8 MB / 0.6355 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.0003941/0.4129, allocations: 304.2 kB / 0.8216 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4129, allocations: 15.28 kB / 0.8216 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.413, allocations: 12.98 kB / 0.8216 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.413, allocations: 123.3 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.413, allocations: 4.188 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.413, allocations: 5.578 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.4132, allocations: 67.83 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4132, allocations: 5.188 kB / 0.8218 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4132, allocations: 1.922 kB / 0.8218 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4132, allocations: 1.281 kB / 0.8218 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.4133, allocations: 48 kB / 0.8219 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.4137, allocations: 284.4 kB / 0.8221 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.4138, allocations: 57.33 kB / 0.8222 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.4139, allocations: 35.17 kB / 0.8222 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.4139, allocations: 2.672 kB / 0.8222 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.414, allocations: 81.55 kB / 0.8223 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.414, allocations: 0 / 0.8223 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000263/0.4143, allocations: 126.9 kB / 0.8224 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.4143, allocations: 53.97 kB / 0.8225 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.4144, allocations: 127.5 kB / 0.8226 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.4144, allocations: 29.7 kB / 0.8226 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.4144, allocations: 89.97 kB / 0.8227 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.4144, allocations: 18.91 kB / 0.8227 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.4145, allocations: 31.66 kB / 0.8227 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.965e-05/0.4145, allocations: 325.4 kB / 0.8231 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.4146, allocations: 27.31 kB / 0.8231 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.4146, allocations: 71.38 kB / 0.8232 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.4148, allocations: 110.1 kB / 0.8233 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4148, allocations: 8.812 kB / 0.8233 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001798/0.4149, allocations: 127.6 kB / 0.8234 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.415, allocations: 5.969 kB / 0.8234 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.415, allocations: 1.031 kB / 0.8234 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.415, allocations: 2.406 kB / 0.8234 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.4151, allocations: 17.77 kB / 0.8234 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4151, allocations: 11.17 kB / 0.8234 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.4151, allocations: 16.61 kB / 0.8234 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.4151, allocations: 3.469 kB / 0.8234 GB, free: 22.01 MB / 0.6355 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 4.71e-05/0.4152, allocations: 125.2 kB / 0.8236 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.4152, allocations: 16.17 kB / 0.8236 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.4152, allocations: 10.52 kB / 0.8236 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4152, allocations: 1.156 kB / 0.8236 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4152, allocations: 0 / 0.8236 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4152, allocations: 6.094 kB / 0.8236 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.4155, allocations: 341.5 kB / 0.8239 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4155, allocations: 0.8125 kB / 0.8239 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.4155, allocations: 12.78 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4155, allocations: 0.6562 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.4155, allocations: 2.266 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4155, allocations: 4.594 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4155, allocations: 0 / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.4157, allocations: 212.2 kB / 0.8241 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.4157, allocations: 6.484 kB / 0.8241 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.4157, allocations: 1.219 kB / 0.8241 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.096e-05/0.4157, allocations: 10.05 kB / 0.8242 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.4157, allocations: 6.062 kB / 0.8242 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.4158, allocations: 9.125 kB / 0.8242 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.636e-05/0.4158, allocations: 95.62 kB / 0.8243 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4158, allocations: 0 / 0.8243 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000169/0.416, allocations: 12.91 kB / 0.8243 GB, free: 21.29 MB / 0.6355 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 9.319e-05/0.416, allocations: 104.4 kB / 0.8244 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.4162, allocations: 81.81 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4162, allocations: 0 / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.214e-05/0.4163, allocations: 30.14 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.4165, allocations: 15.16 kB / 0.8245 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.4168, allocations: 193.5 kB / 0.8247 GB, free: 21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.207e-05/0.4169, allocations: 0.6923 MB / 0.8254 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.4169, allocations: 16.62 kB / 0.8254 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.4169, allocations: 0 / 0.8254 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.002079/0.419, allocations: 1.048 MB / 0.8264 GB, free: 20.2 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.53865048289299] Failed to read output from testmodel.py, exit status != 0: 0.4241746519692242 0.432126987 0.018033052 Calling exit ...