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.000688/0.000688, 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.0008322/0.0008322, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9296/0.9296, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7185/0.7185, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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 3.166e-06/3.166e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.488e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002014/0.002039, allocations: 0.7234 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.003721, allocations: 1.089 MB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.003779, allocations: 4 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.003814, allocations: 3.938 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.003897, allocations: 15.86 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.004261, allocations: 59.62 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.00439, allocations: 71.78 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.004526, allocations: 20.16 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.004636, allocations: 35.91 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.0047, allocations: 27.95 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.004723, allocations: 4 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.004795, allocations: 19.98 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.004822, allocations: 15.94 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.004869, allocations: 27.91 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.00506, allocations: 83.73 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005062, allocations: 0 / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.452e-06/0.005064, allocations: 3.938 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.005069, 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.0005732/0.005642, allocations: 302.1 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.005697, allocations: 9.469 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.005876, allocations: 34.75 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.005915, allocations: 8.891 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.006019, allocations: 121.7 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.006033, allocations: 4.375 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.006049, allocations: 8.375 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.00624, allocations: 70.16 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.00625, allocations: 192 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.00626, allocations: 384 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.006267, allocations: 7.938 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.006411, allocations: 43.95 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.006982, allocations: 279.8 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.007149, allocations: 58.48 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.007229, allocations: 28.95 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.00725, allocations: 0 / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.007435, allocations: 75.38 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.007437, allocations: 4 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003653/0.007802, allocations: 129.6 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.007847, allocations: 63.31 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.007945, allocations: 127.2 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.007962, allocations: 25.7 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.008019, allocations: 96.08 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.00804, allocations: 15.91 kB / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.008097, allocations: 29.7 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.00819, allocations: 322.8 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.008298, allocations: 31.91 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.008411, allocations: 72.61 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.008614, allocations: 117.8 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.008616, allocations: 0 / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002824/0.008899, allocations: 129.5 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.008915, allocations: 4 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.008921, allocations: 4.219 kB / 0.6223 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.008937, allocations: 8 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.009051, allocations: 23.91 kB / 0.6224 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.009058, allocations: 0 / 0.6224 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.009129, allocations: 8 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.009144, allocations: 7.984 kB / 0.6224 GB, free: 9.035 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 9.132e-05/0.009236, allocations: 132.8 kB / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.00925, allocations: 7.953 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.009278, allocations: 4.438 kB / 0.6225 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.009282, allocations: 4 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.009286, allocations: 4 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.00929, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.009736, allocations: 337.6 kB / 0.6228 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.00974, allocations: 4 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.009787, allocations: 15.92 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.00979, allocations: 0 / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.0098, allocations: 4 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009801, allocations: 0 / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009803, allocations: 0 / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.01007, allocations: 211.8 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.01008, allocations: 7.938 kB / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.0101, allocations: 4 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.01018, allocations: 7.984 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.01021, allocations: 4 kB / 0.6231 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.01022, allocations: 11.88 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.01028, allocations: 91.27 kB / 0.6232 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.01028, allocations: 3.938 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002866/0.01056, allocations: 16 kB / 0.6232 GB, free: 8.105 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.0005786/0.01114, allocations: 0.7436 MB / 0.6239 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.01133, allocations: 75.83 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01133, allocations: 4 kB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.0114, allocations: 40.34 kB / 0.6241 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.0001922/0.01159, allocations: 15.94 kB / 0.6241 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.01277, allocations: 1.517 MB / 0.6255 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.01289, allocations: 75.33 kB / 0.6256 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.01292, allocations: 4 kB / 0.6256 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.01296, allocations: 24.48 kB / 0.6256 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of SimCode: time 6.12e-07/0.01297, allocations: 0 / 0.6256 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.02855, allocations: 2.828 MB / 0.6284 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/6.899, allocations: 6.375 kB / 0.6284 GB, free: 2.84 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.718274637125432] Failed to read output from testmodel.py, exit status != 0: 6.983141095377505 6.990309635 6.983570586 Calling exit ...