Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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.001365/0.001365, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002275/0.002275, allocations: 214 kB / 22.99 MB, free: 4.609 MB / 14.72 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.973/0.973, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002483/0.002483, allocations: 62.72 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2061, allocations: 89.17 MB / 0.7282 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002225/0.2083, allocations: 0.7088 MB / 0.7289 GB, free: 328 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2104, allocations: 1.167 MB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.2105, allocations: 0 / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.2105, allocations: 3.938 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.385e-05/0.2106, allocations: 19.86 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.2112, allocations: 135.9 kB / 0.7302 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.2114, allocations: 111.8 kB / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2115, allocations: 11.98 kB / 0.7303 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.2116, allocations: 55.83 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2117, allocations: 39.83 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.2118, allocations: 12 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.2118, allocations: 23.97 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.2119, allocations: 19.88 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.2119, allocations: 39.91 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.2121, allocations: 107.9 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2121, allocations: 0 / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2121, allocations: 0 / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2122, allocations: 0 / 0.7306 GB, free: 14.57 MB / 0.5606 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.0007147/0.2129, allocations: 339.8 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2129, allocations: 8.031 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.213, allocations: 30.75 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.213, allocations: 20.88 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2131, allocations: 122.4 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.2132, allocations: 4.375 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.2132, allocations: 12.38 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.2134, allocations: 66.22 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2134, allocations: 3.938 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2134, allocations: 0 / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2134, allocations: 0 / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.2136, allocations: 39.95 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.2142, allocations: 283.8 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2144, allocations: 50.61 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2145, allocations: 36.95 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2145, allocations: 0 / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000285/0.2148, allocations: 99.31 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.2148, allocations: 7.938 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004566/0.2152, allocations: 133.6 kB / 0.7318 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.2153, allocations: 55.41 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2154, allocations: 124 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.2154, allocations: 29.7 kB / 0.732 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.2155, allocations: 88.14 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2155, allocations: 19.89 kB / 0.7321 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.2156, allocations: 37.7 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2158, allocations: 326.8 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.216, allocations: 81.67 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.2162, allocations: 117.9 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.2165, allocations: 145.9 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2165, allocations: 4 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004904/0.217, allocations: 232.9 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.217, allocations: 37.69 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.217, allocations: 4 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2171, allocations: 0 / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.79e-05/0.2172, allocations: 19.92 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2172, allocations: 320 / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.2174, allocations: 47.92 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2174, allocations: 7.984 kB / 0.7331 GB, free: 11.72 MB / 0.5606 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,edge1.y,edge1.u,$PRE.edge1.u,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 0.0001157/0.2175, allocations: 128.2 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.2175, allocations: 7.953 kB / 0.7332 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.2176, allocations: 8.375 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2176, allocations: 0 / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2176, allocations: 4 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2176, allocations: 7.922 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.2181, allocations: 341.6 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.2181, allocations: 7.922 kB / 0.7336 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.2181, allocations: 11.98 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2181, allocations: 0 / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2181, allocations: 0 / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2181, allocations: 3.938 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2181, allocations: 4.062 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.2185, allocations: 215.4 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.2185, allocations: 11.95 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2185, allocations: 0 / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.2186, allocations: 7.984 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.2186, allocations: 11.92 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2186, allocations: 4 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.2187, allocations: 91.27 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2187, allocations: 0 / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002616/0.219, allocations: 27.94 kB / 0.7339 GB, free: 10.77 MB / 0.5606 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0007193/0.2197, allocations: 0.7489 MB / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.2201, allocations: 189 kB / 0.7348 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2201, allocations: 0 / 0.7348 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.2202, allocations: 39.97 kB / 0.7349 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2205, allocations: 16.12 kB / 0.7349 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.223, allocations: 1.806 MB / 0.7367 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.882e-05/0.2231, allocations: 79.33 kB / 0.7367 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.2231, allocations: 7.859 kB / 0.7367 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.2232, allocations: 23.42 kB / 0.7368 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2232, allocations: 3.938 kB / 0.7368 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.2539, allocations: 3.208 MB / 0.7399 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.6, allocations: 2.5 kB / 0.7399 GB, free: 4.613 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.68148526083678] Failed to read output from testmodel.py, exit status != 0: 11.709315182641149 11.739006534 11.521449473 Calling exit ...