Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0006892/0.0006892, 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.0007419/0.0007419, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.8616/0.8616, allocations: 230.6 MB / 256 MB, free: 9.605 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.03519/0.03519, 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.0004083/0.0004083, allocations: 27.94 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.497/1.497, allocations: 353.9 MB / 0.7787 GB, free: 4.551 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.RealExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001419/0.001419, allocations: 117.3 kB / 1.06 GB, free: 24.79 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1847, allocations: 134.9 MB / 1.192 GB, free: 7.52 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001503/0.1862, allocations: 0.9427 MB / 1.193 GB, free: 6.578 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1874, allocations: 1.355 MB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.1875, allocations: 4 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.1876, allocations: 23.73 kB / 1.194 GB, free: 5.184 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.146e-05/0.1877, allocations: 43.66 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.1882, allocations: 273.3 kB / 1.194 GB, free: 4.879 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.1885, allocations: 395.2 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1887, allocations: 45.72 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1888, allocations: 155.6 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1889, allocations: 123.5 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.189, allocations: 32 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.459e-05/0.1891, allocations: 55.98 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.1891, allocations: 55.78 kB / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.1892, allocations: 119.5 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1895, allocations: 406.5 kB / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1895, allocations: 0 / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.1895, allocations: 4 kB / 1.196 GB, free: 3.512 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.1895, allocations: 0 / 1.196 GB, free: 3.512 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000655/0.1902, allocations: 0.5472 MB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1902, allocations: 8.031 kB / 1.196 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.1903, allocations: 50.61 kB / 1.196 GB, free: 2.852 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.1905, allocations: 68.72 kB / 1.196 GB, free: 2.785 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.191, allocations: 305.2 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.191, allocations: 20.38 kB / 1.197 GB, free: 2.445 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.191, allocations: 20.38 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.1913, allocations: 202.1 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1913, allocations: 4 kB / 1.197 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1913, allocations: 11.98 kB / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1914, allocations: 0 / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.1916, allocations: 143.7 kB / 1.197 GB, free: 2.051 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.1923, allocations: 0.8204 MB / 1.198 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1925, allocations: 141 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.1926, allocations: 92.23 kB / 1.198 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1926, allocations: 0 / 1.198 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.1929, allocations: 171.5 kB / 1.198 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1929, allocations: 0 / 1.198 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0004558/0.1934, allocations: 261.2 kB / 1.198 GB, free: 436 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.1934, allocations: 162.2 kB / 1.199 GB, free: 236 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1936, allocations: 229.3 kB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1936, allocations: 33.7 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.1937, allocations: 152.3 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.1937, allocations: 31.75 kB / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.1938, allocations: 53.69 kB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.1938, allocations: 334.8 kB / 1.199 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.194, allocations: 163.3 kB / 1.199 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.1943, allocations: 288.2 kB / 1.2 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.1945, allocations: 274.9 kB / 1.2 GB, free: 14.56 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1946, allocations: 3.938 kB / 1.2 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000474/0.195, allocations: 448.1 kB / 1.2 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.1951, allocations: 67.39 kB / 1.2 GB, free: 14.01 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1951, allocations: 4 kB / 1.2 GB, free: 14 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1951, allocations: 4.469 kB / 1.2 GB, free: 14 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.1952, allocations: 27.91 kB / 1.201 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1952, allocations: 4 kB / 1.201 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1954, allocations: 71.92 kB / 1.201 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.1954, allocations: 15.98 kB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001043/0.1955, allocations: 151.4 kB / 1.201 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.1955, allocations: 27.84 kB / 1.201 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.1956, allocations: 21.33 kB / 1.201 GB, free: 13.67 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1956, allocations: 4 kB / 1.201 GB, free: 13.67 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1956, allocations: 0 / 1.201 GB, free: 13.67 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1956, allocations: 8 kB / 1.201 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.1957, allocations: 216.6 kB / 1.201 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1957, allocations: 0 / 1.201 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.1958, allocations: 23.97 kB / 1.201 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1958, allocations: 4 kB / 1.201 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1958, allocations: 4 kB / 1.201 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1958, allocations: 0 / 1.201 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1958, allocations: 0 / 1.201 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.1961, allocations: 252.1 kB / 1.201 GB, free: 13.1 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.1961, allocations: 19.84 kB / 1.201 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1961, allocations: 3.984 kB / 1.201 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.1962, allocations: 19.98 kB / 1.201 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.1962, allocations: 15.97 kB / 1.201 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1963, allocations: 15.94 kB / 1.201 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 8.596e-05/0.1963, allocations: 168.4 kB / 1.202 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.1963, allocations: 0 / 1.202 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001858/0.1965, allocations: 47.89 kB / 1.202 GB, free: 12.82 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0005075/0.197, allocations: 0.7795 MB / 1.202 GB, free: 12 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.1975, allocations: 373.9 kB / 1.203 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1975, allocations: 0 / 1.203 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1976, allocations: 80.31 kB / 1.203 GB, free: 11.52 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1978, allocations: 46.16 kB / 1.203 GB, free: 11.47 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.2001, allocations: 2.824 MB / 1.206 GB, free: 8.426 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.172e-05/0.2002, allocations: 140.8 kB / 1.206 GB, free: 8.27 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.976e-05/0.2003, allocations: 33.61 kB / 1.206 GB, free: 8.234 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.2003, allocations: 63.8 kB / 1.206 GB, free: 8.176 MB / 0.8387 GB Notification: Performance of SimCode: time 1.032e-06/0.2003, allocations: 0 / 1.206 GB, free: 8.176 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.2166, allocations: 6.1 MB / 1.212 GB, free: 2.285 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.185/6.401, allocations: 11.28 kB / 1.212 GB, free: 2.277 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_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_RealExtractSignal.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.307821705937386] Failed to read output from testmodel.py, exit status != 0: 6.476375420577824 6.483842491 6.292785739 Calling exit ...