Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.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.001057/0.001057, 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.0008715/0.0008715, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9976/0.9976, allocations: 230.6 MB / 256 MB, free: 9.809 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.04285/0.04285, allocations: 12.17 MB / 324.6 MB, free: 6.383 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.000449/0.000449, allocations: 31.94 kB / 384.1 MB, free: 10.79 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.672/1.672, allocations: 353.8 MB / 0.7787 GB, free: 3.137 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.Integers.Validation.Min,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min",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.001427/0.001427, allocations: 123.1 kB / 1.06 GB, free: 25.05 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2279, allocations: 134.9 MB / 1.192 GB, free: 7.895 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Min): time 0.001653/0.2296, allocations: 0.7736 MB / 1.193 GB, free: 7.125 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007236/0.2303, allocations: 0.8977 MB / 1.193 GB, free: 6.215 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2304, allocations: 0 / 1.193 GB, free: 6.215 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.2304, allocations: 7.875 kB / 1.193 GB, free: 6.207 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.71e-05/0.2305, allocations: 19.84 kB / 1.193 GB, free: 6.188 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.2307, allocations: 43.91 kB / 1.193 GB, free: 6.145 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.2308, allocations: 83.81 kB / 1.194 GB, free: 6.062 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2309, allocations: 19.98 kB / 1.194 GB, free: 6.043 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.231, allocations: 39.84 kB / 1.194 GB, free: 6.004 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.231, allocations: 55.81 kB / 1.194 GB, free: 5.949 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.231, allocations: 8 kB / 1.194 GB, free: 5.941 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.2311, allocations: 8 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.2311, allocations: 15.92 kB / 1.194 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.2311, allocations: 31.86 kB / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2312, allocations: 99.8 kB / 1.194 GB, free: 5.789 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2312, allocations: 4 kB / 1.194 GB, free: 5.785 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2312, allocations: 0 / 1.194 GB, free: 5.785 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2312, allocations: 0 / 1.194 GB, free: 5.785 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004577/0.2317, allocations: 322 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2317, allocations: 8.031 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.2318, allocations: 34.75 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.2318, allocations: 8.891 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.2319, allocations: 118.5 kB / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2319, allocations: 4.375 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.2319, allocations: 12.12 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2321, allocations: 107.5 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2321, allocations: 0 / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.2321, allocations: 0 / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2321, allocations: 4 kB / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.2323, allocations: 99.91 kB / 1.194 GB, free: 5.016 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.2327, allocations: 315.6 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.233, allocations: 114.5 kB / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.2331, allocations: 60.81 kB / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.2331, allocations: 0 / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.2334, allocations: 34.56 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.2334, allocations: 0 / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003652/0.2338, allocations: 189.4 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.2338, allocations: 51.41 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2339, allocations: 121.8 kB / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2339, allocations: 25.7 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.234, allocations: 100 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.234, allocations: 27.78 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.234, allocations: 21.7 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.2341, allocations: 326.8 kB / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/0.2342, allocations: 43.95 kB / 1.196 GB, free: 3.496 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.2343, allocations: 45.38 kB / 1.196 GB, free: 3.453 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2344, allocations: 97.25 kB / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2344, allocations: 0 / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002144/0.2347, allocations: 145.5 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2347, allocations: 4 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2347, allocations: 4 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2347, allocations: 0 / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.2348, allocations: 27.97 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2348, allocations: 3.938 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.2348, allocations: 11.98 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2348, allocations: 3.984 kB / 1.196 GB, free: 3.152 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.468e-05/0.2349, allocations: 117.8 kB / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.2349, allocations: 7.953 kB / 1.196 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.2352, allocations: 157.9 kB / 1.196 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2352, allocations: 4 kB / 1.196 GB, free: 2.852 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2352, allocations: 3.938 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2352, allocations: 7.922 kB / 1.196 GB, free: 2.84 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2353, allocations: 160.7 kB / 1.197 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2353, allocations: 4 kB / 1.197 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.2354, allocations: 23.97 kB / 1.197 GB, free: 2.613 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2354, allocations: 4 kB / 1.197 GB, free: 2.609 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.2354, allocations: 3.984 kB / 1.197 GB, free: 2.605 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.2354, allocations: 0 / 1.197 GB, free: 2.605 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2354, allocations: 3.938 kB / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.2356, allocations: 243.3 kB / 1.197 GB, free: 2.348 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.2356, allocations: 12.02 kB / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.2357, allocations: 0 / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/0.2357, allocations: 11.98 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.2358, allocations: 27.89 kB / 1.197 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2358, allocations: 4 kB / 1.197 GB, free: 2.293 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.2358, allocations: 95.27 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2358, allocations: 4 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001438/0.236, allocations: 12 kB / 1.197 GB, free: 2.184 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004147/0.2364, allocations: 0.7709 MB / 1.198 GB, free: 1.387 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.2366, allocations: 103.9 kB / 1.198 GB, free: 1.285 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.2366, allocations: 3.938 kB / 1.198 GB, free: 1.281 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2367, allocations: 67.88 kB / 1.198 GB, free: 1.215 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.2369, allocations: 13.5 kB / 1.198 GB, free: 1.203 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2382, allocations: 1.537 MB / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.2384, allocations: 0.6885 MB / 1.2 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.42e-05/0.2384, allocations: 15.75 kB / 1.2 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.2385, allocations: 31.42 kB / 1.2 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of SimCode: time 4.91e-07/0.2385, allocations: 4 kB / 1.2 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.2527, allocations: 2.854 MB / 1.203 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.218/6.471, allocations: 8.906 kB / 1.203 GB, free: 12.09 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.849055943079293] Failed to read output from testmodel.py, exit status != 0: 6.548682855442166 6.558971852 6.326079712 Calling exit ...