Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0007454/0.0007454, 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.0009102/0.0009102, 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.8714/0.8714, 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.0354/0.0354, 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.0004157/0.0004157, allocations: 31.95 kB / 384.1 MB, free: 10.47 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.535/1.535, allocations: 353.9 MB / 0.7787 GB, free: 4.535 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.RealExtractor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.001243/0.001243, allocations: 124.4 kB / 1.06 GB, free: 24.93 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1915, allocations: 134.9 MB / 1.192 GB, free: 7.5 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001657/0.1932, allocations: 1.236 MB / 1.193 GB, free: 6.266 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1946, allocations: 1.591 MB / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1947, allocations: 4 kB / 1.194 GB, free: 4.656 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.289e-05/0.1948, allocations: 35.53 kB / 1.194 GB, free: 4.621 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.1949, allocations: 75.38 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.1957, allocations: 0.4968 MB / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004924/0.1962, allocations: 0.6521 MB / 1.196 GB, free: 3.41 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.1963, allocations: 109.3 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.1966, allocations: 255.4 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1968, allocations: 215.1 kB / 1.196 GB, free: 2.84 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.1968, allocations: 64 kB / 1.196 GB, free: 2.777 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.731e-05/0.1969, allocations: 75.98 kB / 1.196 GB, free: 2.703 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.197, allocations: 87.64 kB / 1.196 GB, free: 2.617 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1971, allocations: 211.2 kB / 1.197 GB, free: 2.41 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.1976, allocations: 0.6928 MB / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1976, allocations: 0 / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1976, allocations: 0 / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.1976, allocations: 4 kB / 1.197 GB, free: 1.711 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007785/0.1984, allocations: 0.875 MB / 1.198 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1984, allocations: 8.031 kB / 1.198 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.1984, allocations: 62.72 kB / 1.198 GB, free: 0.668 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.1985, allocations: 52.7 kB / 1.198 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.1992, allocations: 397.5 kB / 1.199 GB, free: 208 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.1992, allocations: 36.84 kB / 1.199 GB, free: 172 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.1992, allocations: 40.38 kB / 1.199 GB, free: 132 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.1997, allocations: 460.8 kB / 1.199 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1997, allocations: 3.938 kB / 1.199 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.1997, allocations: 11.98 kB / 1.199 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1997, allocations: 8 kB / 1.199 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.2001, allocations: 390.3 kB / 1.2 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/0.201, allocations: 0.7745 MB / 1.2 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.2014, allocations: 491.3 kB / 1.201 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.2017, allocations: 391.5 kB / 1.201 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2017, allocations: 4 kB / 1.201 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.202, allocations: 459.5 kB / 1.202 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=44): time 1.443e-06/0.202, allocations: 0 / 1.202 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of matching and sorting (n=44): time 0.0009652/0.203, allocations: 1.1 MB / 1.203 GB, free: 11.76 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2031, allocations: 191.9 kB / 1.203 GB, free: 11.53 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2032, allocations: 288.5 kB / 1.203 GB, free: 11.24 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.2033, allocations: 45.7 kB / 1.203 GB, free: 11.19 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.2034, allocations: 176.8 kB / 1.203 GB, free: 11.01 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.2034, allocations: 134.9 kB / 1.203 GB, free: 10.88 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.2036, allocations: 138.1 kB / 1.204 GB, free: 10.74 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.2036, allocations: 346.8 kB / 1.204 GB, free: 10.39 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.2041, allocations: 0.5235 MB / 1.204 GB, free: 9.812 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.2045, allocations: 0.6062 MB / 1.205 GB, free: 9.113 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.2051, allocations: 0.9207 MB / 1.206 GB, free: 8.078 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2051, allocations: 0 / 1.206 GB, free: 8.078 MB / 0.8387 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009765/0.2061, allocations: 1.263 MB / 1.207 GB, free: 6.699 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 8.413e-05/0.2062, allocations: 256.4 kB / 1.207 GB, free: 6.395 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.2062, allocations: 7.984 kB / 1.207 GB, free: 6.387 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2062, allocations: 4 kB / 1.207 GB, free: 6.383 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.2064, allocations: 67.89 kB / 1.208 GB, free: 6.316 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2064, allocations: 4 kB / 1.208 GB, free: 6.312 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.2067, allocations: 139.6 kB / 1.208 GB, free: 6.176 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.2068, allocations: 71.86 kB / 1.208 GB, free: 6.105 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0001745/0.2069, allocations: 322.1 kB / 1.208 GB, free: 5.75 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.207, allocations: 39.77 kB / 1.208 GB, free: 5.711 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.207, allocations: 43.48 kB / 1.208 GB, free: 5.66 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.207, allocations: 4 kB / 1.208 GB, free: 5.656 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.207, allocations: 0 / 1.208 GB, free: 5.656 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.207, allocations: 3.984 kB / 1.208 GB, free: 5.652 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.208, allocations: 1.253 MB / 1.209 GB, free: 4.289 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.208, allocations: 3.984 kB / 1.209 GB, free: 4.285 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.2082, allocations: 67.89 kB / 1.209 GB, free: 4.219 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2082, allocations: 0 / 1.209 GB, free: 4.219 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2082, allocations: 15.98 kB / 1.209 GB, free: 4.203 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2082, allocations: 11.88 kB / 1.209 GB, free: 4.191 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2082, allocations: 0 / 1.209 GB, free: 4.191 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.2088, allocations: 0.9052 MB / 1.21 GB, free: 3.211 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.2088, allocations: 39.64 kB / 1.21 GB, free: 3.172 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.2089, allocations: 15.98 kB / 1.21 GB, free: 3.156 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.209, allocations: 31.91 kB / 1.21 GB, free: 3.125 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.209, allocations: 39.88 kB / 1.21 GB, free: 3.086 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.2091, allocations: 47.94 kB / 1.21 GB, free: 3.031 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001192/0.2092, allocations: 195.1 kB / 1.211 GB, free: 2.84 MB / 0.8387 GB Notification: Performance of sort global known variables: time 8e-08/0.2092, allocations: 0 / 1.211 GB, free: 2.84 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002618/0.2094, allocations: 104 kB / 1.211 GB, free: 2.738 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.000845/0.2103, allocations: 1.463 MB / 1.212 GB, free: 1.188 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0009412/0.2112, allocations: 1.434 MB / 1.214 GB, free: 15.56 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2112, allocations: 3.938 kB / 1.214 GB, free: 15.55 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.2116, allocations: 0.6262 MB / 1.214 GB, free: 14.84 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.2119, allocations: 84.98 kB / 1.214 GB, free: 14.75 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.2162, allocations: 5.84 MB / 1.22 GB, free: 8.473 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.2163, allocations: 188.8 kB / 1.22 GB, free: 8.266 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.2164, allocations: 95.19 kB / 1.22 GB, free: 8.172 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.2165, allocations: 115.4 kB / 1.22 GB, free: 8.059 MB / 0.8543 GB Notification: Performance of SimCode: time 7.11e-07/0.2165, allocations: 0 / 1.22 GB, free: 8.059 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.2364, allocations: 11.1 MB / 1.231 GB, free: 13.21 MB / 0.8699 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.158/6.394, allocations: 10.38 kB / 1.231 GB, free: 13.21 MB / 0.8699 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor_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_RealExtractor.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.381134797818959] Failed to read output from testmodel.py, exit status != 0: 6.471580654382706 6.480346559 6.280744493 Calling exit ...