Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0009276/0.0009276, 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.0009357/0.0009357, 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.056/1.056, allocations: 230.6 MB / 256 MB, free: 9.828 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.7982/0.7982, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.TriggeredMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",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.001232/0.001232, allocations: 67.11 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.5262, allocations: 102 MB / 0.8178 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001394/0.5276, allocations: 0.7384 MB / 0.8186 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.5286, allocations: 1.243 MB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.5286, allocations: 0 / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.5287, allocations: 4.641 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.5287, allocations: 8.719 kB / 0.8198 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.5291, allocations: 149.6 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.5293, allocations: 125.8 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.5294, allocations: 17.05 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.5295, allocations: 40.45 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.5295, allocations: 51.47 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.5296, allocations: 9.438 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.5296, allocations: 30.05 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.5297, allocations: 13.97 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.5297, allocations: 40.78 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.5299, allocations: 116.5 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5299, allocations: 0 / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5299, allocations: 0 / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5299, allocations: 0 / 0.8203 GB, free: 15.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007168/0.5306, allocations: 335.7 kB / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5306, allocations: 11.47 kB / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.5307, allocations: 31.78 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.5307, allocations: 10.7 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.682e-05/0.5308, allocations: 110 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.5308, allocations: 10.11 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.5309, allocations: 10.48 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.531, allocations: 69.86 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.531, allocations: 4.594 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.531, allocations: 0 / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.531, allocations: 5.094 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.5311, allocations: 49.09 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.5316, allocations: 303.5 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.5317, allocations: 46.36 kB / 0.8213 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.5317, allocations: 32.08 kB / 0.8213 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.5317, allocations: 2.297 kB / 0.8213 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.5319, allocations: 85.06 kB / 0.8214 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5319, allocations: 2 kB / 0.8214 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002868/0.5322, allocations: 136.6 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.5322, allocations: 58.38 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.5323, allocations: 109.2 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.5323, allocations: 36.05 kB / 0.8217 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.5324, allocations: 94.08 kB / 0.8218 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.5324, allocations: 11.78 kB / 0.8218 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.5324, allocations: 38.47 kB / 0.8219 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.5325, allocations: 324.8 kB / 0.8222 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.5326, allocations: 47.83 kB / 0.8222 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.5327, allocations: 77.97 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.5329, allocations: 128.5 kB / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5329, allocations: 0 / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002592/0.5331, allocations: 205.3 kB / 0.8226 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.5332, allocations: 42.36 kB / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5332, allocations: 0 / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5332, allocations: 2.531 kB / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.6e-05/0.5332, allocations: 14.95 kB / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5332, allocations: 1.594 kB / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.987e-05/0.5333, allocations: 34.12 kB / 0.8227 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.5334, allocations: 5.562 kB / 0.8227 GB, free: 13.53 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 6.962e-05/0.5334, allocations: 137.9 kB / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-06/0.5334, allocations: 6.641 kB / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.5336, allocations: 116.1 kB / 0.823 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5336, allocations: 2.016 kB / 0.823 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5336, allocations: 0 / 0.823 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5336, allocations: 4.75 kB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.5339, allocations: 338.2 kB / 0.8233 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5339, allocations: 3.938 kB / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.5339, allocations: 10.61 kB / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5339, allocations: 0 / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5339, allocations: 6.859 kB / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.5339, allocations: 0 / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5339, allocations: 3.938 kB / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.5341, allocations: 203.7 kB / 0.8235 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.5341, allocations: 6.453 kB / 0.8235 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.5341, allocations: 2.016 kB / 0.8235 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.5342, allocations: 11.73 kB / 0.8235 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.5342, allocations: 13.12 kB / 0.8236 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.5342, allocations: 2.312 kB / 0.8236 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.5343, allocations: 92.8 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5343, allocations: 1.188 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001721/0.5344, allocations: 19.12 kB / 0.8237 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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.0003926/0.5348, allocations: 0.7362 MB / 0.8244 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.5351, allocations: 160.5 kB / 0.8245 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5351, allocations: 0 / 0.8245 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.5351, allocations: 34.5 kB / 0.8246 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.5353, allocations: 16.5 kB / 0.8246 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.5368, allocations: 1.648 MB / 0.8262 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.5369, allocations: 0.6847 MB / 0.8269 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.537, allocations: 6 kB / 0.8269 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.537, allocations: 19.42 kB / 0.8269 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of SimCode: time 4.1e-07/0.537, allocations: 0 / 0.8269 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.5532, allocations: 2.583 MB / 0.8294 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.431/6.984, allocations: 7.734 kB / 0.8294 GB, free: 9.363 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_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_TriggeredMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.175770389148965] Failed to read output from testmodel.py, exit status != 0: 7.064832014031708 7.081684347 6.548882414 Calling exit ...