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.00182/0.00182, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002595/0.002595, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.607/1.607, 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.301/1.301, allocations: 203.5 MB / 0.5039 GB, free: 4.914 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.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: 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.002052/0.002052, allocations: 71.89 kB / 0.7183 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7657, allocations: 102 MB / 0.8179 GB, free: 29.12 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.003088/0.7688, allocations: 0.7159 MB / 0.8186 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.7712, allocations: 1.087 MB / 0.8196 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.7713, allocations: 0.5938 kB / 0.8196 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.228e-05/0.7713, allocations: 5.984 kB / 0.8196 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.7715, allocations: 15.16 kB / 0.8197 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.772, allocations: 52.83 kB / 0.8197 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.7722, allocations: 74.39 kB / 0.8198 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.7724, allocations: 19.44 kB / 0.8198 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.7725, allocations: 29.75 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.7726, allocations: 33.64 kB / 0.8199 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.7726, allocations: 5.312 kB / 0.8199 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.7727, allocations: 20.55 kB / 0.8199 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.7728, allocations: 13.7 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.7728, allocations: 27.14 kB / 0.8199 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.7731, allocations: 79.47 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.7731, allocations: 0.75 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7731, allocations: 0.9375 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.7731, allocations: 5.188 kB / 0.82 GB, free: 27.75 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.0006347/0.7737, allocations: 303 kB / 0.8203 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.7738, allocations: 10.38 kB / 0.8203 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.7738, allocations: 9.484 kB / 0.8203 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.7739, allocations: 120.2 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.774, allocations: 6.75 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.774, allocations: 8.344 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.7742, allocations: 71.34 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.7742, allocations: 3.938 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.7743, allocations: 6.078 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.7743, allocations: 1.125 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.7745, allocations: 44 kB / 0.8206 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.7751, allocations: 256.9 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.7753, allocations: 49.16 kB / 0.8209 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.7754, allocations: 33.94 kB / 0.8209 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.7755, allocations: 4.156 kB / 0.8209 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.7757, allocations: 83.14 kB / 0.821 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.7757, allocations: 0 / 0.821 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004813/0.7762, allocations: 128.5 kB / 0.8211 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.7762, allocations: 58.08 kB / 0.8211 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.7764, allocations: 126.2 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.7764, allocations: 30.42 kB / 0.8213 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.7764, allocations: 93.53 kB / 0.8214 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.7764, allocations: 14.75 kB / 0.8214 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.7765, allocations: 31.17 kB / 0.8214 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.7766, allocations: 323.8 kB / 0.8217 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.7767, allocations: 26.36 kB / 0.8218 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.7768, allocations: 76.91 kB / 0.8218 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.7771, allocations: 109.8 kB / 0.8219 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7771, allocations: 0.5625 kB / 0.8219 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003725/0.7775, allocations: 135.1 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.7775, allocations: 8.188 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.7775, allocations: 1.719 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.7775, allocations: 3 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.7777, allocations: 25.45 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.7777, allocations: 6.719 kB / 0.8221 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.7778, allocations: 16.02 kB / 0.8221 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.7778, allocations: 5.062 kB / 0.8221 GB, free: 25.98 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 9.352e-05/0.7779, allocations: 133.2 kB / 0.8223 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.7779, allocations: 7.234 kB / 0.8223 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.778, allocations: 11.11 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.778, allocations: 1.125 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.778, allocations: 1.031 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.778, allocations: 4.609 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.7784, allocations: 312.3 kB / 0.8226 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7784, allocations: 0.5 kB / 0.8226 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.7785, allocations: 8.797 kB / 0.8226 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7785, allocations: 1.312 kB / 0.8226 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.7785, allocations: 0.75 kB / 0.8226 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.7785, allocations: 1.125 kB / 0.8226 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7785, allocations: 0 / 0.8226 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.7788, allocations: 213.7 kB / 0.8228 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.7788, allocations: 7.344 kB / 0.8228 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.7788, allocations: 1.672 kB / 0.8228 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.7789, allocations: 7.188 kB / 0.8228 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.779, allocations: 8.719 kB / 0.8228 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.779, allocations: 6.328 kB / 0.8228 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.779, allocations: 92.5 kB / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.779, allocations: 0 / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002641/0.7793, allocations: 13.61 kB / 0.8229 GB, free: 25.32 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.0001466/0.7794, allocations: 112.2 kB / 0.823 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.7797, allocations: 76.53 kB / 0.8231 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7798, allocations: 1.312 kB / 0.8231 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.7799, allocations: 33.58 kB / 0.8231 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.7802, allocations: 21.62 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.7805, allocations: 152.3 kB / 0.8233 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.427e-05/0.7806, allocations: 81.81 kB / 0.8234 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.7806, allocations: 17.98 kB / 0.8234 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.7807, allocations: 11.77 kB / 0.8234 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of SimCode: time 7.42e-07/0.7807, allocations: 1.406 kB / 0.8234 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of Templates: time 0.004491/0.7852, allocations: 1.068 MB / 0.8245 GB, free: 24.85 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.238790160045028] Failed to read output from testmodel.py, exit status != 0: 0.7941347807645798 0.808966282 0.032568767000000005 Calling exit ...