Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.0008262/0.0008262, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.0008686/0.0008686, allocations: 210.4 kB / 23 MB, free: 2.973 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 1.018/1.018, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.03651/0.03651, allocations: 12.2 MB / 325.4 MB, free: 6.168 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.0004582/0.0004582, allocations: 23.97 kB / 384.9 MB, free: 10.59 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.819/1.819, allocations: 353.8 MB / 0.7794 GB, free: 4.551 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: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.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.001506/0.001506, allocations: 114.1 kB / 1.061 GB, free: 24.49 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2736, allocations: 134.9 MB / 1.193 GB, free: 6.957 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001726/0.2753, allocations: 0.6762 MB / 1.194 GB, free: 6.281 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000825/0.2762, allocations: 0.8281 MB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.2762, allocations: 0 / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.2762, allocations: 3.938 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.2763, allocations: 11.86 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 8.317e-05/0.2764, allocations: 19.98 kB / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.2765, allocations: 43.84 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.2766, allocations: 8 kB / 1.194 GB, free: 5.355 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.2767, allocations: 11.98 kB / 1.195 GB, free: 5.344 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.2768, allocations: 23.91 kB / 1.195 GB, free: 5.32 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2768, allocations: 4 kB / 1.195 GB, free: 5.316 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.2768, allocations: 4 kB / 1.195 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.2768, allocations: 7.938 kB / 1.195 GB, free: 5.305 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.2768, allocations: 15.92 kB / 1.195 GB, free: 5.289 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.277, allocations: 47.8 kB / 1.195 GB, free: 5.242 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.277, allocations: 4 kB / 1.195 GB, free: 5.238 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.234e-06/0.277, allocations: 0 / 1.195 GB, free: 5.238 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.277, allocations: 0 / 1.195 GB, free: 5.238 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004689/0.2774, allocations: 278.3 kB / 1.195 GB, free: 4.934 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2775, allocations: 12.03 kB / 1.195 GB, free: 4.922 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2775, allocations: 12.83 kB / 1.195 GB, free: 4.91 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2776, allocations: 118.4 kB / 1.195 GB, free: 4.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2776, allocations: 4.375 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2776, allocations: 4.375 kB / 1.195 GB, free: 4.762 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.2778, allocations: 66.22 kB / 1.195 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2779, allocations: 4.125 kB / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.2779, allocations: 7.938 kB / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2779, allocations: 0 / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.278, allocations: 63.92 kB / 1.195 GB, free: 4.617 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.2784, allocations: 212.5 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.2785, allocations: 54.53 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.2786, allocations: 48.84 kB / 1.195 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.2786, allocations: 0 / 1.195 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2786, allocations: 34.56 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.2786, allocations: 0 / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003379/0.279, allocations: 133.5 kB / 1.196 GB, free: 4.086 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.279, allocations: 51.41 kB / 1.196 GB, free: 4.023 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.2791, allocations: 109.8 kB / 1.196 GB, free: 3.906 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2791, allocations: 29.7 kB / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.2792, allocations: 88.09 kB / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.2792, allocations: 11.94 kB / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.2792, allocations: 13.72 kB / 1.196 GB, free: 3.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2793, allocations: 318.8 kB / 1.196 GB, free: 3.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.2794, allocations: 31.95 kB / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.2795, allocations: 27.97 kB / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.28, allocations: 68.78 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.28, allocations: 4 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001855/0.2802, allocations: 105.5 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2802, allocations: 4 kB / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2802, allocations: 0 / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2802, allocations: 0 / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2803, allocations: 15.98 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2803, allocations: 4 kB / 1.196 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.2804, allocations: 19.92 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2804, allocations: 0 / 1.196 GB, free: 3.145 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 (3): * Single equations (assignments): 3 * 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.691e-05/0.2804, allocations: 111.4 kB / 1.197 GB, free: 3.027 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.2805, allocations: 3.938 kB / 1.197 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.2805, allocations: 12 kB / 1.197 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2805, allocations: 0 / 1.197 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2805, allocations: 0 / 1.197 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2805, allocations: 0 / 1.197 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.826e-05/0.2806, allocations: 117.2 kB / 1.197 GB, free: 2.859 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2806, allocations: 4 kB / 1.197 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.2806, allocations: 27.78 kB / 1.197 GB, free: 2.828 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2806, allocations: 4 kB / 1.197 GB, free: 2.824 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2806, allocations: 8 kB / 1.197 GB, free: 2.816 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.2806, allocations: 0 / 1.197 GB, free: 2.816 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.2806, allocations: 0 / 1.197 GB, free: 2.816 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.2808, allocations: 187.4 kB / 1.197 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.2809, allocations: 15.88 kB / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.2809, allocations: 3.984 kB / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.2809, allocations: 16.36 kB / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.281, allocations: 0 / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.281, allocations: 0 / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.281, allocations: 91.27 kB / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.281, allocations: 0 / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001363/0.2811, allocations: 8 kB / 1.197 GB, free: 2.484 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 (3): * Single equations (assignments): 3 * 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.0001218/0.2812, allocations: 95.25 kB / 1.197 GB, free: 2.383 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.2814, allocations: 71.84 kB / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2814, allocations: 0 / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.2815, allocations: 35.95 kB / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.2817, allocations: 13.88 kB / 1.197 GB, free: 2.266 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.282, allocations: 147.1 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.2821, allocations: 71.28 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.2821, allocations: 15.44 kB / 1.197 GB, free: 1.984 MB / 0.823 GB Notification: Performance of SimCode: time 6.71e-07/0.2821, allocations: 0 / 1.197 GB, free: 1.984 MB / 0.823 GB Notification: Performance of Templates: time 0.001664/0.2838, allocations: 0.7564 MB / 1.198 GB, free: 1.238 MB / 0.823 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.963831158354878] Failed to read output from testmodel.py, exit status != 0: 0.2902937261387706 0.298624736 0.019942882000000002 Calling exit ...