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.001253/0.001253, allocations: 74.66 kB / 19.18 MB, free: 2.371 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.0015/0.0015, allocations: 169.9 kB / 22.46 MB, free: 4.984 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.477/1.477, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.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.23/1.23, allocations: 154.7 MB / 413.9 MB, free: 5.156 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.457e-05, allocations: 4.812 kB / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002319/0.002354, allocations: 0.7186 MB / 0.6195 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.00427, allocations: 1.089 MB / 0.6205 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.004334, allocations: 0.75 kB / 0.6205 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.004378, allocations: 11.81 kB / 0.6206 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.267e-05/0.004471, allocations: 15.88 kB / 0.6206 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.004863, allocations: 55.8 kB / 0.6206 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.005019, allocations: 71.78 kB / 0.6207 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.005152, allocations: 8.188 kB / 0.6207 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.005282, allocations: 47.88 kB / 0.6207 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.00535, allocations: 23.92 kB / 0.6208 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.005373, allocations: 4 kB / 0.6208 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.005447, allocations: 15.98 kB / 0.6208 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.005484, allocations: 19.97 kB / 0.6208 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.005535, allocations: 23.92 kB / 0.6208 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.005734, allocations: 91.66 kB / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005736, allocations: 0 / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005737, allocations: 0 / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.005744, allocations: 0 / 0.6209 GB, free: 2.344 MB / 0.5294 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.0007501/0.006494, allocations: 302 kB / 0.6212 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.006549, allocations: 8.031 kB / 0.6212 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.006619, allocations: 8.891 kB / 0.6212 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.006804, allocations: 121.7 kB / 0.6213 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.00682, allocations: 8.375 kB / 0.6213 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.006843, allocations: 8.375 kB / 0.6214 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.007076, allocations: 62.23 kB / 0.6214 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.007089, allocations: 4.125 kB / 0.6214 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.007111, allocations: 12.34 kB / 0.6214 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.007122, allocations: 4.125 kB / 0.6214 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.00736, allocations: 43.91 kB / 0.6215 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.008074, allocations: 252.5 kB / 0.6217 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.008264, allocations: 54.58 kB / 0.6218 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.008365, allocations: 32.95 kB / 0.6218 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.008391, allocations: 7.938 kB / 0.6218 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.008625, allocations: 83.31 kB / 0.6219 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.008627, allocations: 0 / 0.6219 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004822/0.009109, allocations: 121.6 kB / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.009172, allocations: 63.33 kB / 0.6221 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.009304, allocations: 129.1 kB / 0.6222 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.009327, allocations: 25.7 kB / 0.6222 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.009398, allocations: 96.12 kB / 0.6223 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.009421, allocations: 11.89 kB / 0.6223 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.009483, allocations: 33.7 kB / 0.6223 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.009651, allocations: 318.8 kB / 0.6226 GB, free: 416 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.009759, allocations: 23.98 kB / 0.6227 GB, free: 392 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.009909, allocations: 77.98 kB / 0.6227 GB, free: 292 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.01015, allocations: 105.8 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01015, allocations: 4 kB / 0.6228 GB, free: 160 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003138/0.01047, allocations: 137.4 kB / 0.623 GB, free: 16 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01048, allocations: 4 kB / 0.623 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01049, allocations: 3.984 kB / 0.623 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.01051, allocations: 4 kB / 0.623 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.01066, allocations: 16.2 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.01067, allocations: 11.94 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.01076, allocations: 15.88 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01078, allocations: 8 kB / 0.623 GB, free: 15.95 MB / 0.545 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.0001107/0.01089, allocations: 118.8 kB / 0.6232 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.01091, allocations: 7.891 kB / 0.6232 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.01094, allocations: 12.44 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01094, allocations: 0 / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01095, allocations: 0 / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01095, allocations: 3.984 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.01146, allocations: 314.1 kB / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01146, allocations: 0 / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.01151, allocations: 4 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01151, allocations: 0 / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.01154, allocations: 11.98 kB / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01154, allocations: 7.875 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.01154, allocations: 4 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.01192, allocations: 211.3 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.01193, allocations: 7.891 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01195, allocations: 7.984 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.01204, allocations: 4 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.01207, allocations: 7.984 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.01208, allocations: 4 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.175e-05/0.01214, allocations: 91.27 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01214, allocations: 0 / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002645/0.01241, allocations: 12 kB / 0.6238 GB, free: 15.07 MB / 0.545 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.0001689/0.01258, allocations: 111.2 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.01289, allocations: 75.83 kB / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01289, allocations: 0 / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.013, allocations: 31.97 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01328, allocations: 14.72 kB / 0.6241 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.0137, allocations: 161.5 kB / 0.6242 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.318e-05/0.01378, allocations: 79.08 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.01382, allocations: 7.984 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.01387, allocations: 16.5 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.01387, allocations: 0 / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of Templates: time 0.004174/0.01804, allocations: 1.033 MB / 0.6253 GB, free: 13.56 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.820343349128962] Failed to read output from testmodel.py, exit status != 0: 0.027580568566918373 0.042720819 0.033795408 Calling exit ...