Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0008135/0.0008135, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0008089/0.0008089, allocations: 211.2 kB / 23 MB, free: 2.977 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.919/0.919, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.7527/0.7527, allocations: 203.5 MB / 0.5046 GB, free: 10.68 MB / 410.7 MB " [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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [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.0008838/0.0008838, allocations: 66.47 kB / 0.719 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4693, allocations: 102 MB / 0.8186 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001447/0.4707, allocations: 0.7172 MB / 0.8193 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009733/0.4717, allocations: 1.093 MB / 0.8204 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.4718, allocations: 0 / 0.8204 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.4718, allocations: 6.062 kB / 0.8204 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.4719, allocations: 14.52 kB / 0.8204 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.4722, allocations: 55.55 kB / 0.8205 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.4723, allocations: 69.61 kB / 0.8205 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.4724, allocations: 21.77 kB / 0.8205 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.4725, allocations: 30.27 kB / 0.8206 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.4725, allocations: 29.56 kB / 0.8206 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.4725, allocations: 5.094 kB / 0.8206 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.112e-05/0.4726, allocations: 17.88 kB / 0.8206 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.4726, allocations: 19.83 kB / 0.8206 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.4726, allocations: 27.02 kB / 0.8207 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.4728, allocations: 84.58 kB / 0.8207 GB, free: 84 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4728, allocations: 4 kB / 0.8208 GB, free: 80 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4728, allocations: 0 / 0.8208 GB, free: 80 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4728, allocations: 2.906 kB / 0.8208 GB, free: 80 kB / 0.6042 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.0004465/0.4732, allocations: 302.1 kB / 0.821 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4733, allocations: 10.73 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.4733, allocations: 7.734 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.179e-05/0.4734, allocations: 115.5 kB / 0.8212 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4734, allocations: 8.438 kB / 0.8212 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.4734, allocations: 12.45 kB / 0.8212 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.4736, allocations: 67.58 kB / 0.8213 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4736, allocations: 3.938 kB / 0.8213 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4736, allocations: 5.25 kB / 0.8213 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4736, allocations: 2.766 kB / 0.8213 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.145e-05/0.4737, allocations: 41.92 kB / 0.8213 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.4741, allocations: 255.8 kB / 0.8215 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.4742, allocations: 52.28 kB / 0.8216 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.4743, allocations: 30.62 kB / 0.8216 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4743, allocations: 0 / 0.8216 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.4745, allocations: 85.31 kB / 0.8217 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4745, allocations: 2.75 kB / 0.8217 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002763/0.4747, allocations: 126.1 kB / 0.8218 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.4748, allocations: 54.34 kB / 0.8219 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.4749, allocations: 126.8 kB / 0.822 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.4749, allocations: 26.95 kB / 0.822 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.4749, allocations: 89 kB / 0.8221 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.4749, allocations: 19.73 kB / 0.8221 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.475, allocations: 29.72 kB / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.4751, allocations: 328.4 kB / 0.8225 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.4751, allocations: 28.06 kB / 0.8225 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.4752, allocations: 84.86 kB / 0.8226 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4753, allocations: 103.7 kB / 0.8227 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4753, allocations: 2.281 kB / 0.8227 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001847/0.4755, allocations: 137 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4755, allocations: 9.859 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4755, allocations: 0 / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4756, allocations: 0.6875 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.4756, allocations: 21.28 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4756, allocations: 8.828 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.4757, allocations: 11.94 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4757, allocations: 3.766 kB / 0.8229 GB, free: 14.3 MB / 0.6198 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.335e-05/0.4758, allocations: 128.6 kB / 0.823 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.4758, allocations: 8.391 kB / 0.823 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.4758, allocations: 8.016 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4758, allocations: 0.5156 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4758, allocations: 0 / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.4758, allocations: 0.6094 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.4761, allocations: 326.2 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4761, allocations: 0.6562 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.4762, allocations: 6.547 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4762, allocations: 1.156 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.4762, allocations: 3.812 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4762, allocations: 0 / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4762, allocations: 3.938 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.4763, allocations: 212.3 kB / 0.8235 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.4764, allocations: 15.44 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.4764, allocations: 0.5625 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.4764, allocations: 6.906 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.4764, allocations: 10.03 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4765, allocations: 10.47 kB / 0.8236 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.4765, allocations: 91.94 kB / 0.8237 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4765, allocations: 0 / 0.8237 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000177/0.4767, allocations: 13.83 kB / 0.8237 GB, free: 13.62 MB / 0.6198 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.000127/0.4768, allocations: 105.2 kB / 0.8238 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.477, allocations: 73.38 kB / 0.8239 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.477, allocations: 1.312 kB / 0.8239 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.4771, allocations: 33.83 kB / 0.8239 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.4773, allocations: 13.56 kB / 0.8239 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.4776, allocations: 194.5 kB / 0.8241 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.241e-05/0.4776, allocations: 77.06 kB / 0.8242 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.4777, allocations: 12.16 kB / 0.8242 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.4777, allocations: 0 / 0.8242 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.002323/0.48, allocations: 1.068 MB / 0.8252 GB, free: 13.16 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.529125556815416] Failed to read output from testmodel.py, exit status != 0: 0.4855152782984078 0.49762449999999997 0.02279839 Calling exit ...