Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.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.001477/0.001477, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001725/0.001725, allocations: 216.8 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.06085/0.06085, allocations: 12.18 MB / 324.6 MB, free: 7.055 MB / 254.1 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.0008271/0.0008271, allocations: 32.14 kB / 384.1 MB, free: 47.63 MB / 302.1 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 2.562/2.562, allocations: 353.9 MB / 0.7787 GB, free: 1.59 MB / 0.5138 GB " [Timeout remaining time 177] 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: translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract") [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.003447/0.003447, allocations: 120 kB / 1.06 GB, free: 12.56 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3297, allocations: 134.9 MB / 1.192 GB, free: 5.781 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002375/0.332, allocations: 0.7447 MB / 1.193 GB, free: 5.039 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3334, allocations: 0.8879 MB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.3334, allocations: 0 / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/0.3335, allocations: 11.86 kB / 1.194 GB, free: 4.129 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3336, allocations: 11.94 kB / 1.194 GB, free: 4.117 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.3338, allocations: 51.81 kB / 1.194 GB, free: 4.066 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3339, allocations: 75.89 kB / 1.194 GB, free: 3.992 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3341, allocations: 15.98 kB / 1.194 GB, free: 3.977 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3342, allocations: 43.78 kB / 1.194 GB, free: 3.934 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.3343, allocations: 43.83 kB / 1.194 GB, free: 3.891 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.3343, allocations: 8 kB / 1.194 GB, free: 3.883 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 2.154e-05/0.3344, allocations: 8 kB / 1.194 GB, free: 3.875 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.3344, allocations: 23.91 kB / 1.194 GB, free: 3.852 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.3344, allocations: 27.86 kB / 1.194 GB, free: 3.824 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3346, allocations: 91.66 kB / 1.194 GB, free: 3.734 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3346, allocations: 0 / 1.194 GB, free: 3.734 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3346, allocations: 0 / 1.194 GB, free: 3.734 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3346, allocations: 0 / 1.194 GB, free: 3.734 MB / 0.8263 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.0007452/0.3354, allocations: 325.9 kB / 1.194 GB, free: 3.387 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3354, allocations: 11.98 kB / 1.194 GB, free: 3.375 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.3355, allocations: 8.891 kB / 1.194 GB, free: 3.367 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.3356, allocations: 118.4 kB / 1.195 GB, free: 3.227 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3356, allocations: 4.375 kB / 1.195 GB, free: 3.223 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3357, allocations: 12.38 kB / 1.195 GB, free: 3.211 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.336, allocations: 105.5 kB / 1.195 GB, free: 3.102 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.336, allocations: 0 / 1.195 GB, free: 3.102 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.336, allocations: 0 / 1.195 GB, free: 3.102 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.336, allocations: 4 kB / 1.195 GB, free: 3.098 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.3364, allocations: 95.84 kB / 1.195 GB, free: 3.004 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.337, allocations: 276.3 kB / 1.195 GB, free: 2.703 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.3377, allocations: 114.5 kB / 1.195 GB, free: 2.582 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.3379, allocations: 56.81 kB / 1.195 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3379, allocations: 4 kB / 1.195 GB, free: 2.52 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3379, allocations: 34.55 kB / 1.195 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3379, allocations: 0 / 1.195 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0007165/0.3387, allocations: 189.5 kB / 1.195 GB, free: 2.285 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3387, allocations: 51.41 kB / 1.196 GB, free: 2.223 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3388, allocations: 125.8 kB / 1.196 GB, free: 2.09 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.3389, allocations: 29.64 kB / 1.196 GB, free: 2.055 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.3389, allocations: 92.09 kB / 1.196 GB, free: 1.961 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.3389, allocations: 31.78 kB / 1.196 GB, free: 1.93 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.339, allocations: 21.7 kB / 1.196 GB, free: 1.902 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3392, allocations: 322.8 kB / 1.196 GB, free: 1.578 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3394, allocations: 47.89 kB / 1.196 GB, free: 1.531 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3395, allocations: 43.95 kB / 1.196 GB, free: 1.488 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.3399, allocations: 100.8 kB / 1.196 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3399, allocations: 0 / 1.196 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004248/0.3403, allocations: 142 kB / 1.196 GB, free: 1.242 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3403, allocations: 5.406 kB / 1.196 GB, free: 1.238 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3403, allocations: 0 / 1.196 GB, free: 1.238 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3404, allocations: 4 kB / 1.196 GB, free: 1.234 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.3406, allocations: 31.91 kB / 1.196 GB, free: 1.203 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.3406, allocations: 4.062 kB / 1.196 GB, free: 1.199 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.3407, allocations: 11.98 kB / 1.196 GB, free: 1.188 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3407, allocations: 7.922 kB / 1.196 GB, free: 1.18 MB / 0.8263 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,sub.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 0.0001057/0.3408, allocations: 113.8 kB / 1.197 GB, free: 1.059 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.3408, allocations: 7.953 kB / 1.197 GB, free: 1.051 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.3409, allocations: 12.36 kB / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3409, allocations: 0 / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3409, allocations: 4 kB / 1.197 GB, free: 1.031 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3409, allocations: 4 kB / 1.197 GB, free: 1.027 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3411, allocations: 133.2 kB / 1.197 GB, free: 0.8672 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3411, allocations: 4 kB / 1.197 GB, free: 0.8633 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.3412, allocations: 27.97 kB / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3412, allocations: 0 / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3413, allocations: 0 / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3413, allocations: 0 / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3413, allocations: 3.938 kB / 1.197 GB, free: 0.832 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.3418, allocations: 239.3 kB / 1.197 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.3418, allocations: 7.891 kB / 1.197 GB, free: 0.5742 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.3418, allocations: 8 kB / 1.197 GB, free: 0.5664 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.342, allocations: 11.97 kB / 1.197 GB, free: 0.5547 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.342, allocations: 23.97 kB / 1.197 GB, free: 0.5312 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.342, allocations: 0 / 1.197 GB, free: 0.5312 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 7.052e-05/0.3421, allocations: 98.77 kB / 1.197 GB, free: 448 kB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3421, allocations: 0 / 1.197 GB, free: 448 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002406/0.3424, allocations: 19.94 kB / 1.197 GB, free: 428 kB / 0.8263 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 (sub.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.0001339/0.3425, allocations: 102.2 kB / 1.197 GB, free: 320 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.3429, allocations: 111.8 kB / 1.197 GB, free: 208 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3429, allocations: 0 / 1.197 GB, free: 208 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.3431, allocations: 59.95 kB / 1.197 GB, free: 148 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3435, allocations: 8 kB / 1.197 GB, free: 140 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.344, allocations: 182.1 kB / 1.198 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.21e-05/0.3441, allocations: 79.08 kB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.078e-05/0.3442, allocations: 8 kB / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.3442, allocations: 23.42 kB / 1.198 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3442, allocations: 3.938 kB / 1.198 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.00492/0.3492, allocations: 1.716 MB / 1.199 GB, free: 14.1 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.497480869293213] Failed to read output from testmodel.py, exit status != 0: 0.35796135291457176 0.372756407 0.035026928 Calling exit ...