Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.0008144/0.0008144, 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.0009137/0.0009137, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.013/1.013, allocations: 230.6 MB / 256 MB, free: 9.789 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.827/0.827, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.Logical.Validation.FallingEdge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.001045/0.001045, allocations: 67.27 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5382, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001568/0.5397, allocations: 0.7365 MB / 0.8186 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.5407, allocations: 1.196 MB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.5408, allocations: 3.031 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.5408, allocations: 4.5 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.5409, allocations: 13.14 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.5413, allocations: 142.5 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.5415, allocations: 116.4 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.5416, allocations: 13.56 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.5417, allocations: 56.28 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.5418, allocations: 45.88 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.5418, allocations: 11.19 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-05/0.5418, allocations: 24.62 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.5419, allocations: 12.66 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.5419, allocations: 46.39 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.5421, allocations: 118.7 kB / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5421, allocations: 0 / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5421, allocations: 0 / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.944e-06/0.5421, allocations: 0.6094 kB / 0.8203 GB, free: 15.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005012/0.5426, allocations: 345.2 kB / 0.8207 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5427, allocations: 10.11 kB / 0.8207 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.5427, allocations: 33.02 kB / 0.8207 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.5427, allocations: 7.047 kB / 0.8207 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.135e-05/0.5428, allocations: 116.3 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5428, allocations: 10.5 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.5428, allocations: 6.5 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.543, allocations: 70.5 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.543, allocations: 6.438 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.543, allocations: 0.6562 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.543, allocations: 0 / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.5431, allocations: 44.61 kB / 0.821 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.5435, allocations: 312.4 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.5436, allocations: 56.39 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.5437, allocations: 36.36 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.5437, allocations: 1.781 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.5439, allocations: 90.42 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.5439, allocations: 0 / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003474/0.5442, allocations: 142.9 kB / 0.8216 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.5443, allocations: 55.3 kB / 0.8216 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.5444, allocations: 114.9 kB / 0.8217 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.5444, allocations: 34.39 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.5444, allocations: 94.47 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.5444, allocations: 20.31 kB / 0.8219 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.5445, allocations: 37.69 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.5446, allocations: 321.3 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.5447, allocations: 54.2 kB / 0.8223 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.5448, allocations: 83.14 kB / 0.8223 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.545, allocations: 145.8 kB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.545, allocations: 3.406 kB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002986/0.5453, allocations: 216.5 kB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.5453, allocations: 36.12 kB / 0.8227 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5453, allocations: 3.938 kB / 0.8227 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.5453, allocations: 2.594 kB / 0.8227 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.5454, allocations: 15.39 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5454, allocations: 2.547 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.5455, allocations: 41.62 kB / 0.8228 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.5455, allocations: 9.812 kB / 0.8228 GB, free: 13.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 6.883e-05/0.5456, allocations: 132.3 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-06/0.5456, allocations: 3.328 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.5456, allocations: 12.53 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5456, allocations: 0 / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5456, allocations: 4.641 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5457, allocations: 0 / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.546, allocations: 355.3 kB / 0.8233 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.546, allocations: 0 / 0.8233 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.546, allocations: 15.31 kB / 0.8233 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.546, allocations: 0 / 0.8233 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-06/0.546, allocations: 1.125 kB / 0.8233 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.546, allocations: 1.062 kB / 0.8233 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.546, allocations: 3.938 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.5462, allocations: 211.7 kB / 0.8235 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.5462, allocations: 4.922 kB / 0.8235 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.5462, allocations: 2.031 kB / 0.8235 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.5462, allocations: 6.578 kB / 0.8235 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.5463, allocations: 14 kB / 0.8235 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.5463, allocations: 2.969 kB / 0.8235 GB, free: 13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.5463, allocations: 95.72 kB / 0.8236 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5463, allocations: 1.594 kB / 0.8236 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001757/0.5465, allocations: 31.98 kB / 0.8237 GB, free: 12.91 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003988/0.5469, allocations: 0.7453 MB / 0.8244 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.5472, allocations: 160.5 kB / 0.8245 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.5472, allocations: 0 / 0.8245 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.5473, allocations: 36.08 kB / 0.8246 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.5475, allocations: 20.39 kB / 0.8246 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.549, allocations: 1.702 MB / 0.8263 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.5492, allocations: 0.6879 MB / 0.8269 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.5492, allocations: 9.422 kB / 0.8269 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.5493, allocations: 21.23 kB / 0.827 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.5493, allocations: 0 / 0.827 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.5656, allocations: 2.694 MB / 0.8296 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/7.138, allocations: 15.47 kB / 0.8296 GB, free: 9.457 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.2799509561155] Failed to read output from testmodel.py, exit status != 0: 7.216672934126109 7.228116135 6.683647759 Calling exit ...