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.0008115/0.0008115, 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.0009337/0.0009337, allocations: 169.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.8962/0.8962, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7538/0.7538, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 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 179] 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="IDEAS_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_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.854e-06/1.854e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.642e-05, allocations: 5.938 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001238/0.001254, allocations: 0.7334 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.00228, allocations: 1.096 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.002322, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.00235, allocations: 7.875 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.41e-05/0.002414, allocations: 11.91 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.002691, allocations: 54.64 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.635e-05/0.002787, allocations: 71.78 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.002882, allocations: 16.17 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.946e-05/0.002962, allocations: 43.89 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.003005, allocations: 23.91 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.003022, allocations: 8 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.227e-05/0.003075, allocations: 23.97 kB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.003097, allocations: 7.984 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.003129, allocations: 23.92 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.003262, allocations: 87.67 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003264, allocations: 0 / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003265, allocations: 0 / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003269, allocations: 0 / 0.6203 GB, free: 11.45 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.0003743/0.003643, allocations: 310 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.003678, allocations: 12.03 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.003707, allocations: 34.75 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.003733, allocations: 8.891 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.589e-05/0.003808, allocations: 113.7 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.003819, allocations: 4.375 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.00383, allocations: 8.375 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.003956, allocations: 62.17 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.003964, allocations: 4.188 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.003972, allocations: 4.375 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.003977, allocations: 3.938 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.004165, allocations: 43.95 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.004576, allocations: 291.7 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.004683, allocations: 54.5 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.004734, allocations: 36.89 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.004753, allocations: 4 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.004886, allocations: 75.41 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.004888, allocations: 4 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002497/0.005137, allocations: 125.6 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.00517, allocations: 55.41 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.005233, allocations: 121.8 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.005244, allocations: 29.7 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.005285, allocations: 96.08 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.005299, allocations: 15.89 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.005337, allocations: 33.7 kB / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.005407, allocations: 318.8 kB / 0.6221 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.005462, allocations: 23.98 kB / 0.6221 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.005535, allocations: 77.92 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.005663, allocations: 109.8 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005665, allocations: 0 / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001656/0.00583, allocations: 137.5 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.005842, allocations: 11.94 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005846, allocations: 0 / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005857, allocations: 4 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.005927, allocations: 15.98 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.005933, allocations: 4 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.00601, allocations: 11.92 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.00602, allocations: 4 kB / 0.6224 GB, free: 8.984 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.617e-05/0.006086, allocations: 134.9 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.006094, allocations: 3.953 kB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.006114, allocations: 12.38 kB / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006115, allocations: 0 / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.006122, allocations: 7.984 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.006126, allocations: 0 / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.006407, allocations: 345.5 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.006408, allocations: 0 / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.006435, allocations: 19.98 kB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.006437, allocations: 0 / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.006443, allocations: 0 / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006444, allocations: 0 / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006445, allocations: 0 / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.006589, allocations: 199.4 kB / 0.6231 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.006597, allocations: 7.953 kB / 0.6231 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.006607, allocations: 0 / 0.6231 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.006647, allocations: 11.92 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.006676, allocations: 15.94 kB / 0.6232 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.006683, allocations: 7.922 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.006718, allocations: 91.28 kB / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006718, allocations: 0 / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000171/0.006889, allocations: 19.92 kB / 0.6233 GB, free: 8.047 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.000363/0.007252, allocations: 0.7395 MB / 0.624 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.007413, allocations: 83.81 kB / 0.6241 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.007416, allocations: 4 kB / 0.6241 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.007474, allocations: 32.05 kB / 0.6241 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.007657, allocations: 15.92 kB / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.008738, allocations: 1.517 MB / 0.6256 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.008784, allocations: 71.33 kB / 0.6257 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.008812, allocations: 7.984 kB / 0.6257 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.008851, allocations: 24.5 kB / 0.6257 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of SimCode: time 7.41e-07/0.008851, allocations: 0 / 0.6257 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02366, allocations: 2.814 MB / 0.6285 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.11, allocations: 7.281 kB / 0.6285 GB, free: 2.785 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.938376461155713] Failed to read output from testmodel.py, exit status != 0: 7.193459899164736 7.203754245 7.198758553 Calling exit ...