Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.0008191/0.0008191, allocations: 105.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.001002/0.001002, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.881/0.881, allocations: 230.6 MB / 256 MB, free: 9.41 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.03625/0.03625, allocations: 12.19 MB / 324.6 MB, free: 6.047 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.0004194/0.0004194, allocations: 31.95 kB / 384.1 MB, free: 10.46 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.553/1.553, allocations: 353.9 MB / 0.7787 GB, free: 4.477 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.Routing.Validation.IntegerExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.001431/0.001431, allocations: 119.5 kB / 1.06 GB, free: 24.87 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2013, allocations: 134.9 MB / 1.192 GB, free: 7.465 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001425/0.2028, allocations: 0.8285 MB / 1.192 GB, free: 6.637 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2042, allocations: 1.328 MB / 1.194 GB, free: 5.297 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.2043, allocations: 3.938 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.867e-05/0.2044, allocations: 15.8 kB / 1.194 GB, free: 5.277 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.087e-05/0.2044, allocations: 39.72 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.2049, allocations: 259.8 kB / 1.194 GB, free: 4.988 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.2052, allocations: 323.4 kB / 1.194 GB, free: 4.672 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2053, allocations: 49.58 kB / 1.194 GB, free: 4.617 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2054, allocations: 127.7 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2056, allocations: 91.62 kB / 1.195 GB, free: 4.402 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.2056, allocations: 36 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.926e-05/0.2057, allocations: 47.98 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.2057, allocations: 51.78 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.2058, allocations: 103.6 kB / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.2061, allocations: 350.8 kB / 1.195 GB, free: 3.824 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2061, allocations: 0 / 1.195 GB, free: 3.824 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2061, allocations: 3.938 kB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2061, allocations: 0 / 1.195 GB, free: 3.82 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005109/0.2066, allocations: 480.8 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2066, allocations: 12.03 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.2067, allocations: 42.75 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.2069, allocations: 60.75 kB / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.2073, allocations: 238 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2073, allocations: 16.38 kB / 1.196 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.2073, allocations: 20.36 kB / 1.196 GB, free: 2.891 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2075, allocations: 155.5 kB / 1.196 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2075, allocations: 0 / 1.196 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2075, allocations: 4 kB / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2075, allocations: 11.94 kB / 1.196 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.2076, allocations: 67.83 kB / 1.196 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.2081, allocations: 0.6758 MB / 1.197 GB, free: 1.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.2082, allocations: 57.23 kB / 1.197 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.2082, allocations: 21.78 kB / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2082, allocations: 0 / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.2084, allocations: 105 kB / 1.197 GB, free: 1.688 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.2084, allocations: 7.938 kB / 1.197 GB, free: 1.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002112/0.2086, allocations: 125.9 kB / 1.197 GB, free: 1.551 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2087, allocations: 85.11 kB / 1.197 GB, free: 1.449 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2088, allocations: 215.7 kB / 1.198 GB, free: 1.227 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2088, allocations: 29.7 kB / 1.198 GB, free: 1.191 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.2089, allocations: 136.3 kB / 1.198 GB, free: 1.055 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.2089, allocations: 23.83 kB / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.209, allocations: 69.67 kB / 1.198 GB, free: 0.957 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.209, allocations: 330.8 kB / 1.198 GB, free: 0.625 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2092, allocations: 127.4 kB / 1.198 GB, free: 500 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.2093, allocations: 252.8 kB / 1.198 GB, free: 192 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.2095, allocations: 190.2 kB / 1.199 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2095, allocations: 0 / 1.199 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003109/0.2098, allocations: 372.4 kB / 1.199 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.2098, allocations: 72.48 kB / 1.199 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2098, allocations: 0 / 1.199 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2098, allocations: 4 kB / 1.199 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.2099, allocations: 11.94 kB / 1.199 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2099, allocations: 4 kB / 1.199 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.2101, allocations: 51.89 kB / 1.199 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.2101, allocations: 16.02 kB / 1.199 GB, free: 15.4 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001016/0.2102, allocations: 153.7 kB / 1.199 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.2102, allocations: 15.91 kB / 1.199 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.2102, allocations: 17.02 kB / 1.199 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2102, allocations: 4 kB / 1.199 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2102, allocations: 0 / 1.199 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2102, allocations: 0 / 1.199 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.2104, allocations: 200.6 kB / 1.2 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2104, allocations: 3.938 kB / 1.2 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.2104, allocations: 8 kB / 1.2 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2104, allocations: 4 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2104, allocations: 4 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2104, allocations: 3.938 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2104, allocations: 7.938 kB / 1.2 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.2105, allocations: 137.8 kB / 1.2 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.2105, allocations: 15.91 kB / 1.2 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.2105, allocations: 0 / 1.2 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.2106, allocations: 4 kB / 1.2 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.2106, allocations: 7.922 kB / 1.2 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.2106, allocations: 8 kB / 1.2 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 7.235e-05/0.2107, allocations: 145.5 kB / 1.2 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2107, allocations: 0 / 1.2 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001746/0.2108, allocations: 47.92 kB / 1.2 GB, free: 14.56 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.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): 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.0005718/0.2114, allocations: 0.6693 MB / 1.201 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.2117, allocations: 302 kB / 1.201 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2117, allocations: 4 kB / 1.201 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.2117, allocations: 32.3 kB / 1.201 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2119, allocations: 49.91 kB / 1.201 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2136, allocations: 2.431 MB / 1.203 GB, free: 10.82 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.596e-05/0.2137, allocations: 120 kB / 1.203 GB, free: 10.68 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.699e-05/0.2138, allocations: 25.45 kB / 1.203 GB, free: 10.65 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.2138, allocations: 51.42 kB / 1.203 GB, free: 10.6 MB / 0.8387 GB Notification: Performance of SimCode: time 7.21e-07/0.2138, allocations: 0 / 1.203 GB, free: 10.6 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.2306, allocations: 5.064 MB / 1.208 GB, free: 5.734 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.969/6.199, allocations: 20.8 kB / 1.208 GB, free: 5.719 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.263693117536604] Failed to read output from testmodel.py, exit status != 0: 6.2727991826832294 6.281373595 6.073629722 Calling exit ...