Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.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.000764/0.000764, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008501/0.0008501, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.8731/0.8731, allocations: 230.6 MB / 256 MB, free: 9.598 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.03551/0.03551, allocations: 12.2 MB / 324.6 MB, free: 6.078 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.0003545/0.0003545, 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.529/1.529, allocations: 353.8 MB / 0.7787 GB, free: 4.539 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.Reals.Validation.Derivative,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Derivative",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.001398/0.001398, allocations: 119.4 kB / 1.06 GB, free: 24.89 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2023, allocations: 134.9 MB / 1.192 GB, free: 7.465 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001715/0.204, allocations: 1.011 MB / 1.193 GB, free: 6.453 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2051, allocations: 1.022 MB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.2052, allocations: 3.938 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.2054, allocations: 15.8 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.336e-05/0.2054, allocations: 27.75 kB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.2057, allocations: 75.84 kB / 1.194 GB, free: 5.297 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.2059, allocations: 180 kB / 1.194 GB, free: 5.121 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.206, allocations: 64.66 kB / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.2061, allocations: 63.78 kB / 1.194 GB, free: 4.992 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.2062, allocations: 75.59 kB / 1.194 GB, free: 4.918 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.2062, allocations: 16 kB / 1.194 GB, free: 4.902 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.941e-05/0.2062, allocations: 23.94 kB / 1.194 GB, free: 4.879 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.2063, allocations: 35.91 kB / 1.194 GB, free: 4.844 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.2063, allocations: 71.64 kB / 1.194 GB, free: 4.773 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.2065, allocations: 183.2 kB / 1.195 GB, free: 4.594 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2065, allocations: 7.938 kB / 1.195 GB, free: 4.586 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2065, allocations: 0 / 1.195 GB, free: 4.586 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2065, allocations: 0 / 1.195 GB, free: 4.586 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005654/0.2071, allocations: 422.3 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2071, allocations: 12.03 kB / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.2072, allocations: 54.73 kB / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.2073, allocations: 16.84 kB / 1.195 GB, free: 4.047 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.2075, allocations: 166.8 kB / 1.195 GB, free: 3.859 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2075, allocations: 12.38 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.2076, allocations: 16.36 kB / 1.195 GB, free: 3.832 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.2078, allocations: 179.1 kB / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2078, allocations: 0 / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2078, allocations: 8 kB / 1.195 GB, free: 3.637 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2078, allocations: 4 kB / 1.195 GB, free: 3.633 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.208, allocations: 111.9 kB / 1.195 GB, free: 3.523 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.2087, allocations: 467.3 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.209, allocations: 142.7 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2091, allocations: 84.75 kB / 1.196 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.2091, allocations: 3.906 kB / 1.196 GB, free: 2.785 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.2093, allocations: 154.8 kB / 1.196 GB, free: 2.617 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 1.984e-06/0.2093, allocations: 0 / 1.196 GB, free: 2.617 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.0003601/0.2097, allocations: 222.7 kB / 1.196 GB, free: 2.395 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.2097, allocations: 55.41 kB / 1.197 GB, free: 2.328 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.2098, allocations: 160.4 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2098, allocations: 33.7 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.2099, allocations: 116.5 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.2099, allocations: 63.44 kB / 1.197 GB, free: 1.945 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.21, allocations: 41.7 kB / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.21, allocations: 326.8 kB / 1.197 GB, free: 1.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.2102, allocations: 63.97 kB / 1.197 GB, free: 1.508 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.2103, allocations: 104.7 kB / 1.197 GB, free: 1.402 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.2105, allocations: 138.5 kB / 1.198 GB, free: 1.262 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2105, allocations: 0 / 1.198 GB, free: 1.262 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002836/0.2107, allocations: 222.5 kB / 1.198 GB, free: 1.039 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2108, allocations: 5.875 kB / 1.198 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2108, allocations: 4.031 kB / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2108, allocations: 4 kB / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.2109, allocations: 39.97 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2109, allocations: 7.938 kB / 1.198 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.67e-05/0.211, allocations: 23.88 kB / 1.198 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.211, allocations: 7.984 kB / 1.198 GB, free: 0.9492 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 8.936e-05/0.2111, allocations: 130.9 kB / 1.198 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.2111, allocations: 15.91 kB / 1.198 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.2114, allocations: 194.6 kB / 1.198 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2114, allocations: 4 kB / 1.198 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2114, allocations: 0 / 1.198 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2114, allocations: 0 / 1.198 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.2119, allocations: 0.5466 MB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2119, allocations: 0 / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.212, allocations: 31.98 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.212, allocations: 3.938 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.212, allocations: 8 kB / 1.199 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.212, allocations: 11.92 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.212, allocations: 0 / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.2124, allocations: 391 kB / 1.199 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.2124, allocations: 15.83 kB / 1.199 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.2124, allocations: 12.03 kB / 1.199 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.2125, allocations: 23.92 kB / 1.199 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.2126, allocations: 19.97 kB / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.2126, allocations: 4 kB / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.919e-05/0.2126, allocations: 121.4 kB / 1.199 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2126, allocations: 0 / 1.199 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001844/0.2128, allocations: 35.95 kB / 1.199 GB, free: 15.29 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005613/0.2134, allocations: 0.918 MB / 1.2 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.2136, allocations: 160 kB / 1.2 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2136, allocations: 4 kB / 1.2 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.2137, allocations: 79.84 kB / 1.2 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.214, allocations: 27.92 kB / 1.201 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.2161, allocations: 2.134 MB / 1.203 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.186e-05/0.2161, allocations: 116.2 kB / 1.203 GB, free: 11.67 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.702e-05/0.2162, allocations: 13.42 kB / 1.203 GB, free: 11.65 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.2163, allocations: 55.41 kB / 1.203 GB, free: 11.6 MB / 0.8387 GB Notification: Performance of SimCode: time 7.31e-07/0.2163, allocations: 0 / 1.203 GB, free: 11.6 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.2322, allocations: 4.258 MB / 1.207 GB, free: 7.484 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.992/6.224, allocations: 6.641 kB / 1.207 GB, free: 7.48 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.266909931786358] Failed to read output from testmodel.py, exit status != 0: 6.299173849634826 6.307888933 6.099515136 Calling exit ...