Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001369/0.001369, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001557/0.001557, allocations: 215.9 kB / 22.26 MB, free: 5.078 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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 1.275/1.275, allocations: 203.8 MB / 0.5041 GB, free: 4.965 MB / 414.1 MB " [Timeout remaining time 178] 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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.002147/0.002147, allocations: 63.91 kB / 0.7187 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5875/0.5896, allocations: 102 MB / 0.8183 GB, free: 29.22 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002305/0.5919, allocations: 0.7431 MB / 0.8191 GB, free: 28.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.5937, allocations: 1.105 MB / 0.8202 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.5938, allocations: 0.8438 kB / 0.8202 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.5938, allocations: 9.625 kB / 0.8202 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.5939, allocations: 14.94 kB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.5942, allocations: 48.97 kB / 0.8202 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.5944, allocations: 78.78 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.5945, allocations: 15.28 kB / 0.8203 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.5946, allocations: 32.38 kB / 0.8203 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.5947, allocations: 31.25 kB / 0.8204 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.5947, allocations: 7.344 kB / 0.8204 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.5948, allocations: 20.34 kB / 0.8204 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.5949, allocations: 21.45 kB / 0.8204 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.5949, allocations: 28.44 kB / 0.8204 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.5951, allocations: 83.41 kB / 0.8205 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5951, allocations: 0 / 0.8205 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5951, allocations: 0 / 0.8205 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.5951, allocations: 0.5312 kB / 0.8205 GB, free: 27.76 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.0006075/0.5957, allocations: 307.4 kB / 0.8208 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.5958, allocations: 11.16 kB / 0.8208 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.5958, allocations: 12.58 kB / 0.8208 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.596, allocations: 116.4 kB / 0.821 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.596, allocations: 3.5 kB / 0.821 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.596, allocations: 9.438 kB / 0.821 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.5962, allocations: 66.28 kB / 0.821 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5962, allocations: 7.875 kB / 0.821 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.5963, allocations: 4.688 kB / 0.821 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.5963, allocations: 3.453 kB / 0.821 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.5965, allocations: 47.03 kB / 0.8211 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.5972, allocations: 287.4 kB / 0.8214 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.5974, allocations: 55.39 kB / 0.8214 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.5975, allocations: 28.02 kB / 0.8214 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.5976, allocations: 5.578 kB / 0.8214 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.5978, allocations: 79.36 kB / 0.8215 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.5978, allocations: 1.125 kB / 0.8215 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0005238/0.5984, allocations: 132.2 kB / 0.8217 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.5984, allocations: 54.73 kB / 0.8217 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.5985, allocations: 126.5 kB / 0.8218 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.5986, allocations: 31.45 kB / 0.8219 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.5986, allocations: 92.61 kB / 0.8219 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.5987, allocations: 19.86 kB / 0.822 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/0.5987, allocations: 26.31 kB / 0.822 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5988, allocations: 322.3 kB / 0.8223 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.599, allocations: 27.16 kB / 0.8223 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.5992, allocations: 82.2 kB / 0.8224 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.5995, allocations: 110 kB / 0.8225 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5995, allocations: 0.6562 kB / 0.8225 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004731/0.6, allocations: 133.6 kB / 0.8226 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.6, allocations: 6.344 kB / 0.8226 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.6001, allocations: 5.406 kB / 0.8226 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/0.6001, allocations: 2.531 kB / 0.8226 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.6003, allocations: 21.03 kB / 0.8227 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.6003, allocations: 6.812 kB / 0.8227 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.6004, allocations: 16.11 kB / 0.8227 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.6004, allocations: 4.984 kB / 0.8227 GB, free: 25.96 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 0.0001131/0.6005, allocations: 125 kB / 0.8228 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.6005, allocations: 7.484 kB / 0.8228 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.6006, allocations: 14.67 kB / 0.8228 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.6006, allocations: 1.062 kB / 0.8228 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6006, allocations: 1.062 kB / 0.8228 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.6006, allocations: 1.219 kB / 0.8228 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.6011, allocations: 342.6 kB / 0.8232 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6011, allocations: 0 / 0.8232 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.6011, allocations: 8.422 kB / 0.8232 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.6011, allocations: 5.375 kB / 0.8232 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.6012, allocations: 4.641 kB / 0.8232 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6012, allocations: 9.25 kB / 0.8232 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6012, allocations: 0.6562 kB / 0.8232 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.6015, allocations: 203.5 kB / 0.8234 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.6015, allocations: 7.531 kB / 0.8234 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.6015, allocations: 2.141 kB / 0.8234 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.6016, allocations: 13.38 kB / 0.8234 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.6017, allocations: 5.281 kB / 0.8234 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.6017, allocations: 6.312 kB / 0.8234 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.6017, allocations: 92.7 kB / 0.8235 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6017, allocations: 0 / 0.8235 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003001/0.602, allocations: 12.53 kB / 0.8235 GB, free: 25.26 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.0001925/0.6022, allocations: 110.6 kB / 0.8236 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.6026, allocations: 80.52 kB / 0.8237 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6026, allocations: 0 / 0.8237 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.6027, allocations: 30.83 kB / 0.8237 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.603, allocations: 13.02 kB / 0.8237 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.6034, allocations: 167.3 kB / 0.8239 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.6035, allocations: 0.6888 MB / 0.8246 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.6036, allocations: 14.09 kB / 0.8246 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.6036, allocations: 20.98 kB / 0.8246 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.6036, allocations: 0 / 0.8246 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.004867/0.6085, allocations: 0.9886 MB / 0.8256 GB, free: 24.2 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.786661829799414] Failed to read output from testmodel.py, exit status != 0: 0.6173549555242062 0.630968933 0.033030193 Calling exit ...