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.002172/0.002172, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.00229/0.00229, allocations: 216.9 kB / 22.25 MB, free: 5.258 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.335/1.335, allocations: 203.5 MB / 0.5038 GB, free: 4.902 MB / 414.1 MB " [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.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: 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.002339/0.002339, allocations: 71.89 kB / 0.7183 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7586, allocations: 102 MB / 0.8179 GB, free: 29.06 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002516/0.7611, allocations: 0.7251 MB / 0.8186 GB, free: 28.64 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.7628, allocations: 1.093 MB / 0.8196 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.7629, allocations: 0.5312 kB / 0.8196 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.7629, allocations: 9.391 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.174e-05/0.763, allocations: 6.438 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.7634, allocations: 57.09 kB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.7635, allocations: 71.53 kB / 0.8198 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.7637, allocations: 19.45 kB / 0.8198 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.7638, allocations: 35.55 kB / 0.8198 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.7638, allocations: 33 kB / 0.8199 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.7639, allocations: 6.688 kB / 0.8199 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.294e-05/0.764, allocations: 14.23 kB / 0.8199 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.764, allocations: 19.53 kB / 0.8199 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.764, allocations: 22.53 kB / 0.8199 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.7642, allocations: 79.47 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7642, allocations: 0.5625 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7642, allocations: 2.406 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.7642, allocations: 0 / 0.82 GB, free: 27.68 MB / 0.6387 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.0005603/0.7648, allocations: 307.5 kB / 0.8203 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.7648, allocations: 9.594 kB / 0.8203 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.7649, allocations: 9.266 kB / 0.8203 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.765, allocations: 120.6 kB / 0.8204 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.765, allocations: 6.75 kB / 0.8204 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.7651, allocations: 10.16 kB / 0.8205 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.7653, allocations: 65.12 kB / 0.8205 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7653, allocations: 3.938 kB / 0.8205 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.7653, allocations: 1.188 kB / 0.8205 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.7653, allocations: 2.438 kB / 0.8205 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.7655, allocations: 49.12 kB / 0.8206 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.7662, allocations: 254.5 kB / 0.8208 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.7664, allocations: 55.8 kB / 0.8209 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.7665, allocations: 28.17 kB / 0.8209 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.7665, allocations: 4.625 kB / 0.8209 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.7668, allocations: 79.14 kB / 0.821 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.7668, allocations: 0 / 0.821 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004985/0.7673, allocations: 123.7 kB / 0.8211 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.7673, allocations: 58.53 kB / 0.8211 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.7674, allocations: 125.1 kB / 0.8213 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.7675, allocations: 30.89 kB / 0.8213 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.7675, allocations: 93.09 kB / 0.8214 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.7675, allocations: 19.59 kB / 0.8214 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.7676, allocations: 29.69 kB / 0.8214 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.7676, allocations: 323.6 kB / 0.8217 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.7678, allocations: 30.78 kB / 0.8218 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.7679, allocations: 79.81 kB / 0.8218 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.7682, allocations: 113.4 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7682, allocations: 0.5 kB / 0.822 GB, free: 26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003303/0.7685, allocations: 126.4 kB / 0.8221 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7685, allocations: 10.7 kB / 0.8221 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.7685, allocations: 1.844 kB / 0.8221 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.7686, allocations: 2.5 kB / 0.8221 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.7687, allocations: 25.61 kB / 0.8221 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.7687, allocations: 6.656 kB / 0.8221 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.541e-05/0.7688, allocations: 11.94 kB / 0.8221 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.7688, allocations: 5.453 kB / 0.8221 GB, free: 25.92 MB / 0.6387 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 8.628e-05/0.7689, allocations: 124.7 kB / 0.8223 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.7689, allocations: 7.328 kB / 0.8223 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.769, allocations: 11.3 kB / 0.8223 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.769, allocations: 1 kB / 0.8223 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.769, allocations: 0.5 kB / 0.8223 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.769, allocations: 9.188 kB / 0.8223 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.7694, allocations: 312.3 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7694, allocations: 0.5938 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.7695, allocations: 8.766 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.7695, allocations: 1.766 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.7695, allocations: 0.5625 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.7695, allocations: 0.5 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7695, allocations: 1.062 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.7699, allocations: 217.4 kB / 0.8228 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.7699, allocations: 11.22 kB / 0.8228 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.7699, allocations: 6.062 kB / 0.8228 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.77, allocations: 5.938 kB / 0.8228 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.77, allocations: 4.984 kB / 0.8228 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.77, allocations: 7.641 kB / 0.8228 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.7701, allocations: 91.3 kB / 0.8229 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7701, allocations: 0 / 0.8229 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002704/0.7703, allocations: 17.98 kB / 0.8229 GB, free: 25.25 MB / 0.6387 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.0001509/0.7705, allocations: 108.3 kB / 0.823 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.7708, allocations: 77.08 kB / 0.8231 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7708, allocations: 0 / 0.8231 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.7709, allocations: 37.31 kB / 0.8231 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.7712, allocations: 16.17 kB / 0.8232 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.7716, allocations: 165.3 kB / 0.8233 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.79e-05/0.7716, allocations: 75.39 kB / 0.8234 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.7717, allocations: 9.953 kB / 0.8234 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.7717, allocations: 11.88 kB / 0.8234 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.7717, allocations: 1.469 kB / 0.8234 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of Templates: time 0.004593/0.7763, allocations: 1.063 MB / 0.8245 GB, free: 24.78 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.097401510924101] Failed to read output from testmodel.py, exit status != 0: 0.7857289873063564 0.800938786 0.033193138000000004 Calling exit ...