Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.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.0009953/0.0009953, 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.001022/0.001022, 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.9903/0.9903, 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.03772/0.03772, allocations: 12.17 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.0004904/0.0004904, allocations: 23.95 kB / 384.1 MB, free: 10.71 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.737/1.737, allocations: 353.8 MB / 0.7787 GB, free: 3.047 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.Add,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Add",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.001515/0.001515, allocations: 122.7 kB / 1.06 GB, free: 25.05 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2389, allocations: 134.9 MB / 1.192 GB, free: 7.859 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Add): time 0.001637/0.2406, allocations: 0.7641 MB / 1.193 GB, free: 7.098 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008504/0.2414, allocations: 0.8977 MB / 1.193 GB, free: 6.188 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.2415, allocations: 4 kB / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.253e-05/0.2415, allocations: 7.922 kB / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.2416, allocations: 7.875 kB / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.2418, allocations: 43.94 kB / 1.193 GB, free: 6.125 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.2419, allocations: 83.77 kB / 1.194 GB, free: 6.043 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.242, allocations: 19.98 kB / 1.194 GB, free: 6.023 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.2421, allocations: 39.86 kB / 1.194 GB, free: 5.984 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.2422, allocations: 55.81 kB / 1.194 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.2422, allocations: 8 kB / 1.194 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.2422, allocations: 8 kB / 1.194 GB, free: 5.914 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.2422, allocations: 19.92 kB / 1.194 GB, free: 5.895 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.2423, allocations: 31.84 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2424, allocations: 95.81 kB / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2424, allocations: 0 / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2424, allocations: 0 / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2424, allocations: 7.938 kB / 1.194 GB, free: 5.762 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.0004351/0.2429, allocations: 322 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2429, allocations: 8.031 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.2429, allocations: 38.75 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.243, allocations: 12.89 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/0.2431, allocations: 114.5 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2431, allocations: 8.312 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.2431, allocations: 12.12 kB / 1.194 GB, free: 5.195 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.2433, allocations: 97.61 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2434, allocations: 4 kB / 1.194 GB, free: 5.09 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2434, allocations: 4 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2434, allocations: 0 / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.2436, allocations: 99.89 kB / 1.194 GB, free: 4.988 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.244, allocations: 315.7 kB / 1.195 GB, free: 4.637 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.2444, allocations: 118.6 kB / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.2445, allocations: 52.81 kB / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.2445, allocations: 4 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.2445, allocations: 34.56 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.2445, allocations: 0 / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003541/0.2448, allocations: 193.4 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.2449, allocations: 51.41 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.2449, allocations: 125.8 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.245, allocations: 25.7 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.245, allocations: 100.1 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.245, allocations: 15.8 kB / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.2451, allocations: 25.7 kB / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.2452, allocations: 318.8 kB / 1.196 GB, free: 3.52 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.2453, allocations: 43.95 kB / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-05/0.2453, allocations: 47.95 kB / 1.196 GB, free: 3.43 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.2455, allocations: 100.7 kB / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2455, allocations: 0 / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003415/0.2459, allocations: 141.5 kB / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2459, allocations: 4 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2459, allocations: 0 / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2459, allocations: 0 / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.246, allocations: 23.97 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.246, allocations: 3.938 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.246, allocations: 11.98 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.246, allocations: 15.98 kB / 1.196 GB, free: 3.125 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,add1.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.106e-05/0.2461, allocations: 113.8 kB / 1.196 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.2461, allocations: 7.953 kB / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.2461, allocations: 12.38 kB / 1.196 GB, free: 2.98 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2461, allocations: 3.938 kB / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2461, allocations: 3.938 kB / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2461, allocations: 3.984 kB / 1.196 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.2463, allocations: 172.7 kB / 1.196 GB, free: 2.758 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2463, allocations: 0 / 1.196 GB, free: 2.758 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.2464, allocations: 27.97 kB / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.2464, allocations: 3.938 kB / 1.197 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2464, allocations: 0 / 1.197 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2464, allocations: 4 kB / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2464, allocations: 7.938 kB / 1.197 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.2466, allocations: 239.3 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.2466, allocations: 11.88 kB / 1.197 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.2466, allocations: 0 / 1.197 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.2467, allocations: 11.98 kB / 1.197 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.2467, allocations: 27.91 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2467, allocations: 4 kB / 1.197 GB, free: 2.41 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.2468, allocations: 95.27 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2468, allocations: 0 / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001508/0.2469, allocations: 16 kB / 1.197 GB, free: 2.301 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 (add1.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.0004614/0.2474, allocations: 0.7599 MB / 1.198 GB, free: 1.516 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.2476, allocations: 115.9 kB / 1.198 GB, free: 1.402 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2476, allocations: 0 / 1.198 GB, free: 1.402 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.2477, allocations: 55.95 kB / 1.198 GB, free: 1.348 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.248, allocations: 21.48 kB / 1.198 GB, free: 1.328 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2493, allocations: 1.544 MB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.2495, allocations: 0.6924 MB / 1.2 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 8.052e-05/0.2495, allocations: 15.73 kB / 1.2 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.2496, allocations: 31.42 kB / 1.2 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of SimCode: time 4.01e-07/0.2496, allocations: 0 / 1.2 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.2643, allocations: 2.851 MB / 1.203 GB, free: 12.22 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.271/6.536, allocations: 11.09 kB / 1.203 GB, free: 12.22 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Add.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.005529689602554] Failed to read output from testmodel.py, exit status != 0: 6.610365250147879 6.618643894 6.374459204 Calling exit ...