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.0007452/0.0007452, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007586/0.0007586, allocations: 222.3 kB / 22.26 MB, free: 3.688 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.9443/0.9443, allocations: 230.6 MB / 256 MB, free: 9.789 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.03703/0.03703, allocations: 12.18 MB / 324.6 MB, free: 6.281 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.0005368/0.0005368, allocations: 35.88 kB / 384.1 MB, free: 10.69 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.751/1.751, allocations: 353.8 MB / 0.7787 GB, free: 3.117 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.001554/0.001554, allocations: 118.5 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2287, allocations: 134.9 MB / 1.192 GB, free: 7.852 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00185/0.2305, allocations: 1.054 MB / 1.193 GB, free: 6.797 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2316, allocations: 1.053 MB / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.2317, allocations: 0 / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.2318, allocations: 23.75 kB / 1.194 GB, free: 5.707 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.2319, allocations: 19.78 kB / 1.194 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.2322, allocations: 71.86 kB / 1.194 GB, free: 5.617 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.2323, allocations: 180 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2325, allocations: 64.67 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.124e-05/0.2325, allocations: 75.7 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.2326, allocations: 83.61 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.2327, allocations: 16 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.912e-05/0.2327, allocations: 20 kB / 1.194 GB, free: 5.184 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.2328, allocations: 39.89 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.2328, allocations: 79.53 kB / 1.195 GB, free: 5.066 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.233, allocations: 187.2 kB / 1.195 GB, free: 4.883 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2331, allocations: 0 / 1.195 GB, free: 4.883 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2331, allocations: 0 / 1.195 GB, free: 4.883 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2331, allocations: 0 / 1.195 GB, free: 4.883 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.0008137/0.2339, allocations: 434.3 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2339, allocations: 8.031 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.234, allocations: 54.67 kB / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.229e-05/0.234, allocations: 20.84 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.2343, allocations: 162.8 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2343, allocations: 12.38 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.2343, allocations: 20.38 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.2346, allocations: 153.3 kB / 1.196 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2346, allocations: 0 / 1.196 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2346, allocations: 12 kB / 1.196 GB, free: 3.949 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2346, allocations: 7.984 kB / 1.196 GB, free: 3.941 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.2348, allocations: 99.92 kB / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.2355, allocations: 0.4993 MB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.2358, allocations: 142.6 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.236, allocations: 80.86 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.236, allocations: 0 / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.2362, allocations: 120.5 kB / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 1.442e-06/0.2362, allocations: 0 / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.0003577/0.2365, allocations: 235.1 kB / 1.197 GB, free: 2.707 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.2365, allocations: 51.41 kB / 1.197 GB, free: 2.645 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2367, allocations: 161.5 kB / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2367, allocations: 29.7 kB / 1.197 GB, free: 2.445 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.2367, allocations: 116.5 kB / 1.197 GB, free: 2.328 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.2368, allocations: 67.42 kB / 1.197 GB, free: 2.262 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.2368, allocations: 41.7 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.2369, allocations: 330.8 kB / 1.197 GB, free: 1.883 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.237, allocations: 63.97 kB / 1.197 GB, free: 1.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2371, allocations: 97.58 kB / 1.198 GB, free: 1.723 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.2373, allocations: 147.4 kB / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2373, allocations: 3.938 kB / 1.198 GB, free: 1.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002789/0.2376, allocations: 214.7 kB / 1.198 GB, free: 1.355 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2376, allocations: 4 kB / 1.198 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2376, allocations: 4 kB / 1.198 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2377, allocations: 0 / 1.198 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.2378, allocations: 43.94 kB / 1.198 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2378, allocations: 4 kB / 1.198 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.2378, allocations: 27.86 kB / 1.198 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.2379, allocations: 4 kB / 1.198 GB, free: 1.27 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.254e-05/0.2379, allocations: 133.7 kB / 1.198 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.238, allocations: 19.84 kB / 1.198 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.2382, allocations: 192.4 kB / 1.198 GB, free: 0.918 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2382, allocations: 4 kB / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2382, allocations: 0 / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2382, allocations: 0 / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.2388, allocations: 0.553 MB / 1.199 GB, free: 300 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.2388, allocations: 8 kB / 1.199 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.2389, allocations: 35.91 kB / 1.199 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2389, allocations: 7.938 kB / 1.199 GB, free: 248 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2389, allocations: 8 kB / 1.199 GB, free: 240 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2389, allocations: 4 kB / 1.199 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2389, allocations: 4.172 kB / 1.199 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.2393, allocations: 389.7 kB / 1.199 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.2393, allocations: 15.83 kB / 1.199 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.2393, allocations: 8 kB / 1.199 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.2394, allocations: 16.03 kB / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.2395, allocations: 27.89 kB / 1.199 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2395, allocations: 8 kB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.293e-05/0.2395, allocations: 129.4 kB / 1.2 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2395, allocations: 0 / 1.2 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001881/0.2397, allocations: 31.95 kB / 1.2 GB, free: 15.58 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.0005833/0.2403, allocations: 0.9164 MB / 1.2 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.2406, allocations: 155.8 kB / 1.201 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2406, allocations: 0 / 1.201 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.2407, allocations: 83.89 kB / 1.201 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2409, allocations: 33.42 kB / 1.201 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.2431, allocations: 2.137 MB / 1.203 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.2433, allocations: 0.7245 MB / 1.204 GB, free: 11.34 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.384e-05/0.2434, allocations: 17.41 kB / 1.204 GB, free: 11.32 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.2434, allocations: 55.42 kB / 1.204 GB, free: 11.27 MB / 0.8387 GB Notification: Performance of SimCode: time 8.41e-07/0.2434, allocations: 0 / 1.204 GB, free: 11.27 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.2611, allocations: 3.836 MB / 1.207 GB, free: 7.57 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/7.077, allocations: 4.844 kB / 1.207 GB, free: 7.57 MB / 0.8387 GB " [Timeout remaining time 653] (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: 11.694789469242096] Failed to read output from testmodel.py, exit status != 0: 7.1570930648595095 7.171118992 6.936201623 Calling exit ...