Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0009055/0.0009055, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009448/0.0009448, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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 1.03/1.03, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.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.8066/0.8066, allocations: 203.8 MB / 0.5042 GB, free: 10.27 MB / 410.7 MB " [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.Discrete.Validation.TriggeredSampler,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009986/0.0009986, allocations: 72.84 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5022, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001482/0.5037, allocations: 0.7597 MB / 0.8186 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.5048, allocations: 1.212 MB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.5048, allocations: 0 / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.5048, allocations: 10.2 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.5049, allocations: 12.12 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.5053, allocations: 141.8 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.5057, allocations: 126.2 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.5058, allocations: 21.83 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.5059, allocations: 52.73 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.506, allocations: 50.61 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.506, allocations: 10.16 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.337e-05/0.5061, allocations: 27 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.5061, allocations: 15.56 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.5061, allocations: 48.16 kB / 0.8203 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.5063, allocations: 124.8 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5063, allocations: 3.938 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5063, allocations: 0 / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5063, allocations: 0 / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004529/0.5068, allocations: 356.7 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5068, allocations: 9.031 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.5069, allocations: 35.66 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.145e-05/0.5069, allocations: 11.92 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.711e-05/0.507, allocations: 115.2 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.507, allocations: 10.58 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.507, allocations: 6.719 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.5072, allocations: 84.8 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5072, allocations: 0 / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.5072, allocations: 0.75 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5072, allocations: 1.562 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.5073, allocations: 48.84 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.5078, allocations: 323.3 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.5079, allocations: 55.64 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.508, allocations: 29.12 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.508, allocations: 0 / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.5082, allocations: 92.41 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.5082, allocations: 4.094 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003128/0.5085, allocations: 151 kB / 0.8217 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.5086, allocations: 55.98 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/0.5086, allocations: 120 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5086, allocations: 27.39 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.5087, allocations: 95.41 kB / 0.8219 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.5087, allocations: 20.89 kB / 0.822 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.5088, allocations: 38.53 kB / 0.822 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.5089, allocations: 322.9 kB / 0.8223 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.509, allocations: 48.55 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.5091, allocations: 92.8 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.5092, allocations: 156.6 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5092, allocations: 4 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002709/0.5095, allocations: 212.8 kB / 0.8228 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.5095, allocations: 37.56 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5095, allocations: 1.828 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5096, allocations: 6.312 kB / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.5096, allocations: 14.03 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5096, allocations: 7.141 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.5097, allocations: 41.52 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.5098, allocations: 13.38 kB / 0.8229 GB, free: 13.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.197e-05/0.5098, allocations: 120.2 kB / 0.823 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.5098, allocations: 7.016 kB / 0.823 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.51, allocations: 135.2 kB / 0.8232 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.51, allocations: 3.688 kB / 0.8232 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.51, allocations: 0 / 0.8232 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.51, allocations: 1.125 kB / 0.8232 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.5103, allocations: 346.4 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5103, allocations: 0 / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.5104, allocations: 11.69 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5104, allocations: 0.9844 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.5104, allocations: 8 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5104, allocations: 5.766 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5104, allocations: 0 / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.5105, allocations: 216.8 kB / 0.8237 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.5105, allocations: 21.16 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.5106, allocations: 1.281 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.5106, allocations: 14.22 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.5106, allocations: 5.359 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.5106, allocations: 11.25 kB / 0.8238 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.5107, allocations: 90.22 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5107, allocations: 1.094 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001821/0.5109, allocations: 21.41 kB / 0.8239 GB, free: 12.77 MB / 0.6198 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000413/0.5113, allocations: 0.7506 MB / 0.8246 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.5116, allocations: 163.2 kB / 0.8248 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.5116, allocations: 1.469 kB / 0.8248 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.5116, allocations: 39.66 kB / 0.8248 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.5118, allocations: 17.19 kB / 0.8248 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.5133, allocations: 1.712 MB / 0.8265 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.5135, allocations: 0.6979 MB / 0.8272 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.5136, allocations: 8.406 kB / 0.8272 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.5136, allocations: 21.16 kB / 0.8272 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.5136, allocations: 0 / 0.8272 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.5346, allocations: 2.687 MB / 0.8298 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/7.211, allocations: 12.64 kB / 0.8299 GB, free: 9.293 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.311341708991677] Failed to read output from testmodel.py, exit status != 0: 7.2915423340164125 7.306023939 6.797089556 Calling exit ...