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.0008783/0.0008783, 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.001049/0.001049, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9512/0.9512, 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.03778/0.03778, allocations: 12.19 MB / 324.6 MB, free: 6.094 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.0005751/0.0005751, allocations: 23.97 kB / 384.1 MB, free: 10.52 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.632/1.632, allocations: 353.9 MB / 0.7787 GB, free: 4.559 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.001316/0.001316, allocations: 119.5 kB / 1.06 GB, free: 24.7 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2355, allocations: 134.9 MB / 1.192 GB, free: 7.453 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002107/0.2376, allocations: 0.9958 MB / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2388, allocations: 1.026 MB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.2389, allocations: 7.938 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.239, allocations: 19.73 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.2391, allocations: 11.81 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.2394, allocations: 79.84 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2395, allocations: 176.1 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.2397, allocations: 60.67 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2398, allocations: 83.62 kB / 1.194 GB, free: 4.984 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.939e-05/0.2399, allocations: 67.69 kB / 1.194 GB, free: 4.918 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.2399, allocations: 16 kB / 1.194 GB, free: 4.902 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.224e-05/0.2399, allocations: 16 kB / 1.194 GB, free: 4.887 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.24, allocations: 43.84 kB / 1.194 GB, free: 4.844 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.24, allocations: 63.64 kB / 1.194 GB, free: 4.781 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.2402, allocations: 191.1 kB / 1.194 GB, free: 4.594 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2402, allocations: 0 / 1.194 GB, free: 4.594 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2403, allocations: 4 kB / 1.195 GB, free: 4.59 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2403, allocations: 0 / 1.195 GB, free: 4.59 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.0006298/0.2409, allocations: 431.9 kB / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2409, allocations: 11.97 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.241, allocations: 46.73 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.39e-05/0.2411, allocations: 20.84 kB / 1.195 GB, free: 4.047 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.2413, allocations: 166.8 kB / 1.195 GB, free: 3.859 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.2413, allocations: 12.38 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.2414, allocations: 20.38 kB / 1.195 GB, free: 3.828 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.2416, allocations: 175.1 kB / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2416, allocations: 0 / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2416, allocations: 8 kB / 1.195 GB, free: 3.637 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2417, allocations: 7.984 kB / 1.195 GB, free: 3.629 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2418, allocations: 107.9 kB / 1.195 GB, free: 3.523 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.2426, allocations: 483.3 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.2428, allocations: 130.7 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2429, allocations: 72.83 kB / 1.196 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.243, allocations: 15.84 kB / 1.196 GB, free: 2.781 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.2431, allocations: 141 kB / 1.196 GB, free: 2.625 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.2432, allocations: 0 / 1.196 GB, free: 2.625 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.0003638/0.2435, allocations: 222.8 kB / 1.196 GB, free: 2.402 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2435, allocations: 55.41 kB / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2436, allocations: 164.4 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2437, allocations: 29.7 kB / 1.197 GB, free: 2.133 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.2437, allocations: 124.5 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.2438, allocations: 71.41 kB / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.2438, allocations: 37.7 kB / 1.197 GB, free: 1.895 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.2439, allocations: 330.8 kB / 1.197 GB, free: 1.562 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.244, allocations: 67.95 kB / 1.197 GB, free: 1.496 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.2441, allocations: 86.14 kB / 1.197 GB, free: 1.406 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.2443, allocations: 147.7 kB / 1.198 GB, free: 1.258 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2443, allocations: 0 / 1.198 GB, free: 1.258 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003025/0.2446, allocations: 218.1 kB / 1.198 GB, free: 1.039 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2447, allocations: 8 kB / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2447, allocations: 0 / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2447, allocations: 0 / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2448, allocations: 47.94 kB / 1.198 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2448, allocations: 4 kB / 1.198 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.2449, allocations: 27.88 kB / 1.198 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2449, allocations: 8 kB / 1.198 GB, free: 0.9453 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.596e-05/0.245, allocations: 129.7 kB / 1.198 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.853e-05/0.245, allocations: 15.91 kB / 1.198 GB, free: 0.793 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.2453, allocations: 196.2 kB / 1.198 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2453, allocations: 4 kB / 1.198 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2453, allocations: 0 / 1.198 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2453, allocations: 3.984 kB / 1.198 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.2459, allocations: 0.5311 MB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2459, allocations: 192 / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-05/0.246, allocations: 47.86 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.246, allocations: 7.938 kB / 1.199 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.246, allocations: 0 / 1.199 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.246, allocations: 4 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.246, allocations: 4 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.2464, allocations: 386.5 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.2464, allocations: 19.83 kB / 1.199 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2464, allocations: 12 kB / 1.199 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.2465, allocations: 12.03 kB / 1.199 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.2465, allocations: 23.95 kB / 1.199 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2465, allocations: 12 kB / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.2466, allocations: 117 kB / 1.199 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2466, allocations: 0 / 1.199 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001816/0.2468, allocations: 31.95 kB / 1.199 GB, free: 15.3 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.0005754/0.2474, allocations: 0.9215 MB / 1.2 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.2476, allocations: 151.9 kB / 1.2 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2476, allocations: 0 / 1.2 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2478, allocations: 92.27 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.0002458/0.248, allocations: 21.34 kB / 1.2 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.2499, allocations: 2.146 MB / 1.203 GB, free: 11.81 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.847e-05/0.25, allocations: 112.2 kB / 1.203 GB, free: 11.68 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.178e-05/0.2501, allocations: 21.59 kB / 1.203 GB, free: 11.65 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.2502, allocations: 55.42 kB / 1.203 GB, free: 11.6 MB / 0.8387 GB Notification: Performance of SimCode: time 8.72e-07/0.2502, allocations: 0 / 1.203 GB, free: 11.6 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.2743, allocations: 4.253 MB / 1.207 GB, free: 7.488 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.972, allocations: 9.203 kB / 1.207 GB, free: 7.484 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 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.240090111270547] Failed to read output from testmodel.py, exit status != 0: 7.046933650970459 7.05613298 6.81405966 Calling exit ...