Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.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.001121/0.001121, 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.0008/0.0008, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9487/0.9487, allocations: 230.6 MB / 256 MB, free: 9.812 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.03922/0.03922, allocations: 12.18 MB / 324.6 MB, free: 6.273 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.0004818/0.0004818, allocations: 27.94 kB / 384.1 MB, free: 10.68 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.764/1.764, allocations: 353.8 MB / 0.7787 GB, free: 2.965 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.Log,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Log",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.001319/0.001319, allocations: 121.8 kB / 1.06 GB, free: 25.05 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2362, allocations: 134.9 MB / 1.192 GB, free: 7.797 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Log): time 0.001427/0.2376, allocations: 0.6572 MB / 1.192 GB, free: 7.141 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007148/0.2383, allocations: 0.8553 MB / 1.193 GB, free: 6.273 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.2383, allocations: 7.938 kB / 1.193 GB, free: 6.266 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.2384, allocations: 4 kB / 1.193 GB, free: 6.262 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.2384, allocations: 3.938 kB / 1.193 GB, free: 6.258 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.2386, allocations: 11.98 kB / 1.193 GB, free: 6.246 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.2386, allocations: 23.92 kB / 1.193 GB, free: 6.223 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.2387, allocations: 0 / 1.193 GB, free: 6.223 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.779e-05/0.2388, allocations: 15.92 kB / 1.193 GB, free: 6.207 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.093e-05/0.2388, allocations: 4 kB / 1.193 GB, free: 6.203 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.2388, allocations: 4 kB / 1.193 GB, free: 6.199 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.711e-05/0.2389, allocations: 8 kB / 1.193 GB, free: 6.191 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.2389, allocations: 7.969 kB / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.2389, allocations: 11.94 kB / 1.193 GB, free: 6.172 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.036e-05/0.239, allocations: 32.06 kB / 1.193 GB, free: 6.141 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.239, allocations: 0 / 1.193 GB, free: 6.141 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.239, allocations: 0 / 1.193 GB, free: 6.141 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.225e-05/0.239, allocations: 0 / 1.193 GB, free: 6.141 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000351/0.2394, allocations: 254.4 kB / 1.194 GB, free: 5.859 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2394, allocations: 12.03 kB / 1.194 GB, free: 5.848 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.2394, allocations: 34.75 kB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.2395, allocations: 12.88 kB / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.2395, allocations: 106.5 kB / 1.194 GB, free: 5.664 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2396, allocations: 384 / 1.194 GB, free: 5.664 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.2396, allocations: 4.375 kB / 1.194 GB, free: 5.66 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.2397, allocations: 46.23 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2397, allocations: 7.938 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.2397, allocations: 0 / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.2397, allocations: 0 / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.2401, allocations: 31.91 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.2403, allocations: 220 kB / 1.194 GB, free: 5.312 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.2404, allocations: 38.5 kB / 1.194 GB, free: 5.266 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.222e-05/0.2404, allocations: 24.91 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2404, allocations: 3.938 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.2405, allocations: 34.56 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.2405, allocations: 3.938 kB / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002712/0.2407, allocations: 85.59 kB / 1.194 GB, free: 5.098 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.2408, allocations: 51.41 kB / 1.194 GB, free: 5.035 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.2408, allocations: 97.84 kB / 1.194 GB, free: 4.93 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.2408, allocations: 29.83 kB / 1.194 GB, free: 4.895 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.2409, allocations: 88.14 kB / 1.195 GB, free: 4.805 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.2409, allocations: 11.88 kB / 1.195 GB, free: 4.793 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.2409, allocations: 13.72 kB / 1.195 GB, free: 4.773 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.241, allocations: 318.8 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.241, allocations: 15.92 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.241, allocations: 19.98 kB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.2411, allocations: 44.81 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2411, allocations: 3.938 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.773e-05/0.2412, allocations: 61.86 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2412, allocations: 4 kB / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2412, allocations: 0 / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2412, allocations: 4 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.2413, allocations: 16 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2413, allocations: 0 / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.2413, allocations: 7.984 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.2413, allocations: 0 / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.646e-05/0.2413, allocations: 117.8 kB / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.2414, allocations: 0 / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.2415, allocations: 72.91 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2415, allocations: 4 kB / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2415, allocations: 0 / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.2415, allocations: 3.984 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.335e-05/0.2416, allocations: 128.7 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.2416, allocations: 0 / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.2416, allocations: 11.98 kB / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2416, allocations: 0 / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.2417, allocations: 4 kB / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.2417, allocations: 0 / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2417, allocations: 4.031 kB / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.2418, allocations: 175.3 kB / 1.196 GB, free: 3.684 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-06/0.2418, allocations: 0 / 1.196 GB, free: 3.684 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-06/0.2418, allocations: 4 kB / 1.196 GB, free: 3.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.2418, allocations: 3.984 kB / 1.196 GB, free: 3.676 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.2418, allocations: 12.03 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.2418, allocations: 0 / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.127e-05/0.2419, allocations: 79.28 kB / 1.196 GB, free: 3.586 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2419, allocations: 0 / 1.196 GB, free: 3.586 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001307/0.242, allocations: 4 kB / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000279/0.2423, allocations: 0.6942 MB / 1.196 GB, free: 2.859 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.2424, allocations: 35.91 kB / 1.196 GB, free: 2.824 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.2424, allocations: 0 / 1.196 GB, free: 2.824 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.2424, allocations: 23.97 kB / 1.196 GB, free: 2.801 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.2426, allocations: 13.66 kB / 1.196 GB, free: 2.789 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.243, allocations: 135.1 kB / 1.197 GB, free: 2.617 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2431, allocations: 0.6768 MB / 1.197 GB, free: 1.914 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.2431, allocations: 0 / 1.197 GB, free: 1.914 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.2432, allocations: 15.44 kB / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of SimCode: time 7.41e-07/0.2432, allocations: 0 / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.2574, allocations: 1.386 MB / 1.199 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.168/6.425, allocations: 10.03 kB / 1.199 GB, free: 0.6328 MB / 0.823 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Log.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.864210885949433] Failed to read output from testmodel.py, exit status != 0: 6.50028776563704 6.510066701 6.269096104 Calling exit ...