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.00077/0.00077, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001056/0.001056, allocations: 208.1 kB / 22.24 MB, free: 3.73 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 0.9523/0.9523, allocations: 230.6 MB / 256 MB, free: 9.621 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.8068/0.8068, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.001182/0.001182, allocations: 68.81 kB / 0.7181 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.5442, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001421/0.5456, allocations: 0.7403 MB / 0.8185 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000981/0.5466, allocations: 1.189 MB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.5467, allocations: 0 / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.5467, allocations: 4.875 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.5468, allocations: 17.45 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.5471, allocations: 141.2 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.5473, allocations: 121.2 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.5474, allocations: 21.2 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.5475, allocations: 52.98 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.5476, allocations: 39.36 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.5476, allocations: 14.84 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.5477, allocations: 27.69 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.5477, allocations: 12.16 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.5477, allocations: 47.7 kB / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.5479, allocations: 124.9 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5479, allocations: 6.141 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5479, allocations: 0 / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.5479, allocations: 0 / 0.8203 GB, free: 15.45 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.0004535/0.5484, allocations: 350.1 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5484, allocations: 8.031 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.5484, allocations: 40 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.5485, allocations: 10.78 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.5486, allocations: 113.2 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5486, allocations: 4.922 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.5486, allocations: 10.22 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.5488, allocations: 76.8 kB / 0.8208 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.5488, allocations: 3.938 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5488, allocations: 6.328 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5488, allocations: 1.312 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.5489, allocations: 49.11 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.5493, allocations: 293.2 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.5494, allocations: 65.53 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.5495, allocations: 28.34 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.5495, allocations: 1.344 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.5497, allocations: 88.25 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.5497, allocations: 0 / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002923/0.55, allocations: 155.4 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.55, allocations: 53.66 kB / 0.8216 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.5501, allocations: 124.8 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5501, allocations: 32.73 kB / 0.8217 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.5501, allocations: 90.81 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.5502, allocations: 19.53 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.5502, allocations: 39.11 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.5503, allocations: 323.3 kB / 0.8222 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.5504, allocations: 83.17 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.5505, allocations: 122.3 kB / 0.8224 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.5507, allocations: 147.2 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5507, allocations: 0.5312 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002811/0.551, allocations: 255.1 kB / 0.8227 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.551, allocations: 38.03 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.551, allocations: 3.812 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.551, allocations: 0 / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.5511, allocations: 19.34 kB / 0.8228 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5511, allocations: 0 / 0.8228 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.5512, allocations: 41.03 kB / 0.8228 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.5512, allocations: 14.75 kB / 0.8229 GB, free: 13.32 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.288e-05/0.5513, allocations: 127.5 kB / 0.823 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.5513, allocations: 8.203 kB / 0.823 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.5515, allocations: 123.7 kB / 0.8231 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5515, allocations: 0 / 0.8231 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5515, allocations: 1.438 kB / 0.8231 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5515, allocations: 4.031 kB / 0.8231 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.5518, allocations: 351.2 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5518, allocations: 0.6562 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.5518, allocations: 9.75 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5518, allocations: 1.062 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.5518, allocations: 2.547 kB / 0.8235 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5518, allocations: 3.938 kB / 0.8235 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5518, allocations: 1.094 kB / 0.8235 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.552, allocations: 218.9 kB / 0.8237 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.552, allocations: 15.3 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.552, allocations: 2.406 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.5521, allocations: 14.66 kB / 0.8237 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.5521, allocations: 6.266 kB / 0.8237 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.5521, allocations: 2.781 kB / 0.8237 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.5522, allocations: 90.78 kB / 0.8238 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5522, allocations: 0 / 0.8238 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001743/0.5523, allocations: 26.78 kB / 0.8238 GB, free: 12.55 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.0004556/0.5528, allocations: 0.7524 MB / 0.8246 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.5531, allocations: 193.6 kB / 0.8247 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5531, allocations: 0 / 0.8247 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.5532, allocations: 40.28 kB / 0.8248 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.5535, allocations: 24.16 kB / 0.8248 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.555, allocations: 1.838 MB / 0.8266 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.165e-05/0.5551, allocations: 81.61 kB / 0.8267 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.5551, allocations: 8.219 kB / 0.8267 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.5552, allocations: 24.69 kB / 0.8267 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.5552, allocations: 1.125 kB / 0.8267 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.5721, allocations: 3.219 MB / 0.8298 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/7.232, allocations: 6.094 kB / 0.8299 GB, free: 9.059 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.287785791791975] Failed to read output from testmodel.py, exit status != 0: 7.312604888807982 7.327611843 6.777306355 Calling exit ...