Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001225/0.001225, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001625/0.001625, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9102/0.9102, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7101/0.7101, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 179] 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.291e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001184/0.001197, allocations: 0.7259 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.002172, allocations: 1.096 MB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.002211, allocations: 3.938 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.002238, allocations: 7.922 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.002299, allocations: 15.86 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.002545, allocations: 47.83 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.424e-05/0.00264, allocations: 75.7 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.002732, allocations: 16.12 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.002806, allocations: 39.95 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.002847, allocations: 27.91 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.002862, allocations: 8 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.656e-05/0.002909, allocations: 19.97 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.00293, allocations: 19.92 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.002959, allocations: 19.97 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.003079, allocations: 83.73 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003081, allocations: 0 / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003082, allocations: 0 / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003086, allocations: 0 / 0.6202 GB, free: 11.5 MB / 0.5886 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.0003764/0.003462, allocations: 302 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.003502, allocations: 17.47 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.003537, allocations: 30.75 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.003564, allocations: 8.891 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.177e-05/0.003645, allocations: 121.6 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.003657, allocations: 8.375 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.003668, allocations: 4.375 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.0038, allocations: 66.22 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.003807, allocations: 192 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.003816, allocations: 4.375 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.003821, allocations: 3.938 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.003908, allocations: 47.89 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.004309, allocations: 279.8 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.004417, allocations: 62.48 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.004467, allocations: 28.97 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.004484, allocations: 96 / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.004608, allocations: 83.31 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.004609, allocations: 0 / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002494/0.004858, allocations: 129.6 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.004888, allocations: 55.34 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.004953, allocations: 121.8 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.004966, allocations: 29.7 kB / 0.6216 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.005006, allocations: 92.09 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.00502, allocations: 19.89 kB / 0.6217 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.005058, allocations: 33.64 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.005137, allocations: 322.8 kB / 0.622 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.005195, allocations: 27.97 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.005267, allocations: 77.2 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.005394, allocations: 109.9 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005396, allocations: 0 / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001726/0.005568, allocations: 141.6 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.005581, allocations: 6.188 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.005586, allocations: 4 kB / 0.6223 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.005596, allocations: 0 / 0.6223 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.005669, allocations: 19.97 kB / 0.6224 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.005675, allocations: 4 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.005715, allocations: 19.86 kB / 0.6224 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.005728, allocations: 8 kB / 0.6224 GB, free: 9.031 MB / 0.5886 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 5.841e-05/0.005786, allocations: 118.8 kB / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.005794, allocations: 11.98 kB / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.005814, allocations: 12.42 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.005816, allocations: 0 / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.005819, allocations: 0 / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005822, allocations: 4 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.006095, allocations: 341.5 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006096, allocations: 0 / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.006119, allocations: 11.98 kB / 0.6229 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.00612, allocations: 0 / 0.6229 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.006126, allocations: 4 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.006127, allocations: 4 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.006128, allocations: 0 / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.006273, allocations: 207.8 kB / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.00628, allocations: 3.953 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006291, allocations: 8 kB / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.00633, allocations: 3.984 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.006358, allocations: 7.984 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.006365, allocations: 7.938 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.006398, allocations: 95.27 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006398, allocations: 0 / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001726/0.006571, allocations: 19.94 kB / 0.6232 GB, free: 8.109 MB / 0.5886 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.0004637/0.007034, allocations: 0.7357 MB / 0.6239 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.007207, allocations: 88.05 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.00721, allocations: 8 kB / 0.624 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.007273, allocations: 27.98 kB / 0.6241 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.00746, allocations: 11.92 kB / 0.6241 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.008515, allocations: 1.521 MB / 0.6256 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.826e-05/0.008563, allocations: 71.34 kB / 0.6256 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.636e-05/0.008589, allocations: 7.984 kB / 0.6256 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.008631, allocations: 20.5 kB / 0.6256 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of SimCode: time 4.31e-07/0.008631, allocations: 0 / 0.6256 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.02314, allocations: 2.822 MB / 0.6284 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/6.968, allocations: 7.812 kB / 0.6284 GB, free: 2.852 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.628133703023195] Failed to read output from testmodel.py, exit status != 0: 7.050083772279322 7.059704064 7.054792581 Calling exit ...