Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.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.0007968/0.0007968, 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.0008378/0.0008378, allocations: 213.8 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.979/0.979, allocations: 230.6 MB / 256 MB, free: 9.824 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.03862/0.03862, allocations: 12.18 MB / 324.6 MB, free: 6.289 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.0004605/0.0004605, allocations: 31.94 kB / 384.1 MB, free: 10.67 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.731/1.731, 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.Integers.Validation.Max,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Max",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.002128/0.002128, allocations: 119.6 kB / 1.06 GB, free: 24.99 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2401, allocations: 134.9 MB / 1.192 GB, free: 7.922 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.001682/0.2418, allocations: 0.7732 MB / 1.193 GB, free: 7.152 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008997/0.2427, allocations: 0.9055 MB / 1.193 GB, free: 6.234 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.2427, allocations: 0 / 1.193 GB, free: 6.234 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.2428, allocations: 7.875 kB / 1.193 GB, free: 6.227 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.2428, allocations: 7.922 kB / 1.193 GB, free: 6.219 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.243, allocations: 43.89 kB / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.2431, allocations: 83.83 kB / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2432, allocations: 15.98 kB / 1.194 GB, free: 6.078 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.2433, allocations: 51.77 kB / 1.194 GB, free: 6.027 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.2434, allocations: 43.83 kB / 1.194 GB, free: 5.984 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2434, allocations: 12 kB / 1.194 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.2434, allocations: 8 kB / 1.194 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.2434, allocations: 27.91 kB / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.2435, allocations: 31.86 kB / 1.194 GB, free: 5.906 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.2436, allocations: 91.88 kB / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2436, allocations: 0 / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2436, allocations: 0 / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2436, allocations: 0 / 1.194 GB, free: 5.816 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.0005695/0.2442, allocations: 314 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2442, allocations: 12.02 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.2442, allocations: 38.75 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.2443, allocations: 12.89 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2444, allocations: 118.4 kB / 1.194 GB, free: 5.27 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2444, allocations: 4.375 kB / 1.194 GB, free: 5.266 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2444, allocations: 8.125 kB / 1.194 GB, free: 5.258 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.2446, allocations: 109.6 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2446, allocations: 0 / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2446, allocations: 4 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2446, allocations: 0 / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.2448, allocations: 98.22 kB / 1.194 GB, free: 5.047 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.2453, allocations: 315.7 kB / 1.195 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.2456, allocations: 118.5 kB / 1.195 GB, free: 4.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2457, allocations: 56.8 kB / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.2458, allocations: 0 / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.2458, allocations: 38.56 kB / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2458, allocations: 0 / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0004309/0.2462, allocations: 177.5 kB / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.2462, allocations: 59.34 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.2463, allocations: 125.8 kB / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2463, allocations: 33.7 kB / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.2464, allocations: 100 kB / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.2464, allocations: 23.73 kB / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.2464, allocations: 25.7 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.2465, allocations: 314.8 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.805e-05/0.2466, allocations: 43.95 kB / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/0.2467, allocations: 53.36 kB / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.2469, allocations: 97.25 kB / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.2469, allocations: 0 / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002344/0.2471, allocations: 145.5 kB / 1.196 GB, free: 3.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2472, allocations: 4 kB / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2472, allocations: 0 / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2472, allocations: 0 / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.2473, allocations: 31.91 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2473, allocations: 3.938 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.2473, allocations: 11.98 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2473, allocations: 4 kB / 1.196 GB, free: 3.176 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,max1.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 7.28e-05/0.2474, allocations: 125.8 kB / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.2474, allocations: 3.953 kB / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.2477, allocations: 146 kB / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.2477, allocations: 0 / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2477, allocations: 3.938 kB / 1.196 GB, free: 2.883 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2477, allocations: 7.938 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2478, allocations: 172.7 kB / 1.197 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2479, allocations: 0 / 1.197 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.248, allocations: 27.97 kB / 1.197 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.248, allocations: 0 / 1.197 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.248, allocations: 7.938 kB / 1.197 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.248, allocations: 7.984 kB / 1.197 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.248, allocations: 3.938 kB / 1.197 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.2482, allocations: 227.4 kB / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.2482, allocations: 16 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2482, allocations: 4 kB / 1.197 GB, free: 2.359 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.184e-05/0.2483, allocations: 7.984 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.2484, allocations: 27.91 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2484, allocations: 11.94 kB / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.2484, allocations: 91.27 kB / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2484, allocations: 0 / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001607/0.2486, allocations: 16 kB / 1.197 GB, free: 2.207 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 (max1.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.0005443/0.2491, allocations: 0.7671 MB / 1.198 GB, free: 1.414 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.2494, allocations: 111.8 kB / 1.198 GB, free: 1.305 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2494, allocations: 3.938 kB / 1.198 GB, free: 1.301 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2495, allocations: 63.94 kB / 1.198 GB, free: 1.238 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2498, allocations: 11.94 kB / 1.198 GB, free: 1.227 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2513, allocations: 1.539 MB / 1.199 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.2515, allocations: 0.6937 MB / 1.2 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.2515, allocations: 15.75 kB / 1.2 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.2516, allocations: 27.42 kB / 1.2 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of SimCode: time 1.383e-06/0.2516, allocations: 0 / 1.2 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.2678, allocations: 2.853 MB / 1.203 GB, free: 12.12 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.323/6.591, allocations: 7.016 kB / 1.203 GB, free: 12.12 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Max.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.053932872600853] Failed to read output from testmodel.py, exit status != 0: 6.667957490310073 6.676220155 6.430881316 Calling exit ...