Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.000819/0.000819, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008691/0.0008691, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.8814/0.8814, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03475/0.03475, allocations: 12.19 MB / 324.6 MB, free: 6.082 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004545/0.0004545, allocations: 23.97 kB / 384.1 MB, free: 10.5 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.547/1.547, allocations: 353.9 MB / 0.7787 GB, free: 4.613 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001421/0.001421, allocations: 123.1 kB / 1.06 GB, free: 24.79 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1884, allocations: 134.9 MB / 1.192 GB, free: 7.5 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001349/0.1898, allocations: 0.7223 MB / 1.192 GB, free: 6.781 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1908, allocations: 1.18 MB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.1908, allocations: 7.938 kB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.1909, allocations: 3.938 kB / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.1909, allocations: 7.938 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1913, allocations: 133.8 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1915, allocations: 119.7 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.1915, allocations: 11.98 kB / 1.194 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.1916, allocations: 55.83 kB / 1.194 GB, free: 5.258 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.1917, allocations: 35.89 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1917, allocations: 8 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.432e-05/0.1917, allocations: 19.98 kB / 1.194 GB, free: 5.195 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.1918, allocations: 19.94 kB / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.1918, allocations: 39.89 kB / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1919, allocations: 107.9 kB / 1.194 GB, free: 5.031 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1919, allocations: 4 kB / 1.194 GB, free: 5.027 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1919, allocations: 0 / 1.194 GB, free: 5.027 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.192, allocations: 3.938 kB / 1.194 GB, free: 5.023 MB / 0.823 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.0004215/0.1924, allocations: 335.8 kB / 1.194 GB, free: 4.656 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1924, allocations: 8.031 kB / 1.194 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.1925, allocations: 38.73 kB / 1.194 GB, free: 4.602 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.1925, allocations: 8.891 kB / 1.194 GB, free: 4.594 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.296e-05/0.1926, allocations: 118.4 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1926, allocations: 8.375 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1926, allocations: 8.375 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1928, allocations: 62.22 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1928, allocations: 3.938 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1928, allocations: 4 kB / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1928, allocations: 4 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.1929, allocations: 47.88 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1933, allocations: 287.8 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1934, allocations: 58.61 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.1934, allocations: 24.97 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.1934, allocations: 4 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.1936, allocations: 91.3 kB / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1936, allocations: 0 / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002632/0.1939, allocations: 145.6 kB / 1.195 GB, free: 3.641 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1939, allocations: 55.39 kB / 1.195 GB, free: 3.574 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.194, allocations: 121.8 kB / 1.195 GB, free: 3.445 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.194, allocations: 29.7 kB / 1.195 GB, free: 3.41 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.194, allocations: 92.09 kB / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.194, allocations: 15.89 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.1941, allocations: 37.7 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.1941, allocations: 326.8 kB / 1.196 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1942, allocations: 85.66 kB / 1.196 GB, free: 2.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.1945, allocations: 123.9 kB / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1946, allocations: 138.2 kB / 1.196 GB, free: 2.543 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1946, allocations: 4 kB / 1.196 GB, free: 2.539 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002466/0.1949, allocations: 244.9 kB / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.1949, allocations: 43.56 kB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1949, allocations: 3.938 kB / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1949, allocations: 0 / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.195, allocations: 11.98 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.195, allocations: 4 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1951, allocations: 40.02 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1951, allocations: 11.98 kB / 1.197 GB, free: 2.164 MB / 0.823 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 6.32e-05/0.1952, allocations: 125.7 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.1952, allocations: 11.89 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.1952, allocations: 8.375 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1952, allocations: 7.938 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1952, allocations: 3.984 kB / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1952, allocations: 0 / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.1955, allocations: 341.5 kB / 1.197 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1955, allocations: 4 kB / 1.197 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.1955, allocations: 11.92 kB / 1.197 GB, free: 1.598 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1955, allocations: 0 / 1.197 GB, free: 1.598 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1955, allocations: 0 / 1.197 GB, free: 1.598 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1955, allocations: 4 kB / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1955, allocations: 0 / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.1957, allocations: 211.4 kB / 1.197 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-06/0.1957, allocations: 4.062 kB / 1.197 GB, free: 1.367 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1957, allocations: 4 kB / 1.197 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.112e-05/0.1957, allocations: 7.984 kB / 1.197 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.1958, allocations: 15.92 kB / 1.197 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1958, allocations: 4 kB / 1.197 GB, free: 1.336 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.254e-05/0.1958, allocations: 95.75 kB / 1.197 GB, free: 1.242 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.1958, allocations: 0 / 1.197 GB, free: 1.242 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001669/0.196, allocations: 23.94 kB / 1.197 GB, free: 1.219 MB / 0.823 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.0003379/0.1963, allocations: 0.7475 MB / 1.198 GB, free: 456 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.1965, allocations: 189 kB / 1.198 GB, free: 248 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1965, allocations: 4 kB / 1.198 GB, free: 244 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.1966, allocations: 39.91 kB / 1.198 GB, free: 204 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.1968, allocations: 16.19 kB / 1.198 GB, free: 188 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1982, allocations: 1.805 MB / 1.2 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.1983, allocations: 80.39 kB / 1.2 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.1983, allocations: 4 kB / 1.2 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.1983, allocations: 23.42 kB / 1.2 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of SimCode: time 5.21e-07/0.1983, allocations: 0 / 1.2 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.213, allocations: 3.221 MB / 1.203 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.895/6.108, allocations: 9.562 kB / 1.203 GB, free: 11.04 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.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 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Edge.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.150539354421198] Failed to read output from testmodel.py, exit status != 0: 6.183248736895621 6.192477273 5.998971758 Calling exit ...