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.000756/0.000756, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008256/0.0008256, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9937/0.9937, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7324/0.7324, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.643e-06/1.643e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.46e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001278/0.001293, allocations: 0.7251 MB / 0.6188 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.002361, allocations: 1.089 MB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.002409, allocations: 0 / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.002442, allocations: 11.88 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.002509, allocations: 15.8 kB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.002816, allocations: 55.75 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.002915, allocations: 75.78 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003022, allocations: 16.16 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.003108, allocations: 39.91 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.003161, allocations: 27.95 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.003183, allocations: 7.938 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.336e-05/0.003237, allocations: 12 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.003261, allocations: 19.92 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.003303, allocations: 23.91 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.003438, allocations: 83.73 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.00344, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00344, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.003445, allocations: 4 kB / 0.6202 GB, free: 11.53 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.0004625/0.003907, allocations: 302.1 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.003948, allocations: 13.45 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.003981, allocations: 34.75 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.004012, allocations: 8.891 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.004098, allocations: 113.7 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.004111, allocations: 8.312 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.004128, allocations: 4.375 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.004275, allocations: 66.22 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004282, allocations: 4.188 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.004292, allocations: 4.375 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.004299, allocations: 7.938 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.004388, allocations: 39.95 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.004818, allocations: 279.8 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.004935, allocations: 62.48 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.004988, allocations: 32.95 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.005006, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.005142, allocations: 79.41 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.005143, allocations: 0 / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002641/0.005407, allocations: 125.6 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.005441, allocations: 63.33 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.00551, allocations: 121.8 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.005526, allocations: 33.7 kB / 0.6216 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.005566, allocations: 96.06 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.005581, allocations: 15.84 kB / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.005616, allocations: 29.7 kB / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.005692, allocations: 318.8 kB / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.00575, allocations: 27.97 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.005826, allocations: 75.23 kB / 0.6221 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.005956, allocations: 113.8 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005958, allocations: 0 / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001823/0.00614, allocations: 141.4 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.006153, allocations: 8 kB / 0.6223 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006158, allocations: 0 / 0.6223 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00617, allocations: 4 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.006248, allocations: 19.97 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.006253, allocations: 0 / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.006297, allocations: 12.22 kB / 0.6224 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.006308, allocations: 11.98 kB / 0.6224 GB, free: 9.062 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.834e-05/0.006376, allocations: 126.6 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.006385, allocations: 7.953 kB / 0.6225 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.006408, allocations: 8.438 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.00641, allocations: 4 kB / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.006414, allocations: 0 / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.006417, allocations: 0 / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.006708, allocations: 341.5 kB / 0.6229 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.006712, allocations: 8 kB / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.006735, allocations: 7.984 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006736, allocations: 4 kB / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.006743, allocations: 0 / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006744, allocations: 0 / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006745, allocations: 0 / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.006907, allocations: 211.7 kB / 0.6231 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.006917, allocations: 11.89 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.006928, allocations: 4 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.006967, allocations: 8 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.007006, allocations: 3.984 kB / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.007013, allocations: 7.938 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.00705, allocations: 93.78 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00705, allocations: 0 / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000211/0.007261, allocations: 20 kB / 0.6232 GB, free: 8.137 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.0003858/0.007647, allocations: 0.7397 MB / 0.6239 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.007806, allocations: 79.77 kB / 0.624 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.007812, allocations: 12 kB / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.00787, allocations: 27.97 kB / 0.6241 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.008065, allocations: 11.94 kB / 0.6241 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.009261, allocations: 1.521 MB / 0.6255 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.009314, allocations: 75.33 kB / 0.6256 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.108e-05/0.009345, allocations: 8 kB / 0.6256 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.009389, allocations: 24.48 kB / 0.6257 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of SimCode: time 7.72e-07/0.009389, allocations: 0 / 0.6257 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.02653, allocations: 2.823 MB / 0.6284 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/6.803, allocations: 3.75 kB / 0.6284 GB, free: 2.875 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv --start-time 1 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.702923513017595] Failed to read output from testmodel.py, exit status != 0: 6.881334776990116 6.890478746 6.885302074 Calling exit ...