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.0007903/0.0007903, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008919/0.0008919, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.915/0.915, allocations: 177.1 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.7109/0.7109, 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.SampleTriggerNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.335e-05, allocations: 6 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001473/0.001497, allocations: 0.7131 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.002638, allocations: 1.089 MB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.002681, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.002711, allocations: 7.922 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.002782, allocations: 19.86 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.003066, allocations: 55.64 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.003172, allocations: 79.77 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.003279, allocations: 12.17 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.003367, allocations: 35.91 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.003427, allocations: 31.89 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.003445, allocations: 4 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.887e-05/0.003504, allocations: 19.98 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.003525, allocations: 11.98 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.00356, allocations: 27.91 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.003702, allocations: 87.73 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003704, allocations: 0 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.713e-06/0.003706, allocations: 0 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.003711, allocations: 0 / 0.6202 GB, free: 11.49 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.0004443/0.004155, allocations: 302 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.004201, allocations: 9.469 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.004234, allocations: 42.75 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.004262, allocations: 4.891 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.004349, allocations: 121.7 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.004361, allocations: 384 / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.004372, allocations: 12.38 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.004516, allocations: 66.22 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004522, allocations: 4.125 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.004531, allocations: 384 / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004538, allocations: 11.88 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.004628, allocations: 43.95 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.005062, allocations: 279.9 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.005178, allocations: 62.52 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.005229, allocations: 24.97 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.005247, allocations: 0 / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.005388, allocations: 75.38 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.005389, allocations: 0 / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000279/0.005668, allocations: 137.5 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.005702, allocations: 51.41 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.424e-05/0.005776, allocations: 129.8 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.005791, allocations: 29.7 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.005831, allocations: 92.08 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.005849, allocations: 19.84 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.005886, allocations: 29.7 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.005961, allocations: 318.8 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.157e-05/0.006022, allocations: 31.97 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.006233, allocations: 73.98 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.006366, allocations: 109.8 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006368, allocations: 4 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000171/0.006539, allocations: 133.5 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.006552, allocations: 8 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006557, allocations: 0 / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.00657, allocations: 7.984 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.006653, allocations: 20.14 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.006658, allocations: 4 kB / 0.6224 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.006699, allocations: 15.92 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.006709, allocations: 4 kB / 0.6224 GB, free: 9.02 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 6.812e-05/0.006778, allocations: 128.6 kB / 0.6225 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.006787, allocations: 7.953 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.006811, allocations: 8.422 kB / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.006815, allocations: 4 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.006818, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006821, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.007117, allocations: 341.5 kB / 0.6229 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007119, allocations: 0 / 0.6229 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.007146, allocations: 11.98 kB / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.007149, allocations: 4 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007157, allocations: 7.938 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007158, allocations: 0 / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007159, allocations: 0 / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.007319, allocations: 211.8 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.007328, allocations: 7.953 kB / 0.6231 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.007339, allocations: 0 / 0.6231 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.007383, allocations: 7.984 kB / 0.6231 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.007416, allocations: 7.984 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.007423, allocations: 7.938 kB / 0.6231 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.007458, allocations: 94.44 kB / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007458, allocations: 0 / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001822/0.00764, allocations: 16 kB / 0.6232 GB, free: 8.098 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.0003809/0.008021, allocations: 0.7475 MB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.008185, allocations: 71.88 kB / 0.624 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.008189, allocations: 8 kB / 0.624 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.722e-05/0.008246, allocations: 27.92 kB / 0.624 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.008452, allocations: 28.3 kB / 0.6241 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.009589, allocations: 1.513 MB / 0.6255 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.794e-05/0.009637, allocations: 75.34 kB / 0.6256 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.009669, allocations: 7.984 kB / 0.6256 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.009713, allocations: 20.5 kB / 0.6256 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.009713, allocations: 0 / 0.6256 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.02814, allocations: 2.826 MB / 0.6284 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/6.959, allocations: 4 kB / 0.6284 GB, free: 2.832 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.632598559372127] Failed to read output from testmodel.py, exit status != 0: 7.039593270979822 7.050469253 7.044639994 Calling exit ...