Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001009/0.001009, allocations: 96.38 kB / 19.7 MB, free: 448 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.001145/0.001145, allocations: 211.2 kB / 23 MB, free: 2.977 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.062/1.062, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.04369/0.04369, allocations: 12.19 MB / 325.4 MB, free: 6.09 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.0006213/0.0006213, allocations: 35.88 kB / 384.9 MB, free: 10.51 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.741/1.741, allocations: 353.8 MB / 0.7794 GB, free: 4.609 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [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.001548/0.001548, allocations: 126.1 kB / 1.061 GB, free: 24.5 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2733, allocations: 134.9 MB / 1.193 GB, free: 7.027 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001819/0.2751, allocations: 0.5699 MB / 1.193 GB, free: 6.461 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 6.186e-05/0.2752, allocations: 3.984 kB / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.2752, allocations: 0 / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.2752, allocations: 0 / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.2753, allocations: 0 / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.849e-05/0.2753, allocations: 0 / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.393e-05/0.2754, allocations: 7.984 kB / 1.193 GB, free: 6.449 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.858e-05/0.2755, allocations: 4 kB / 1.194 GB, free: 6.445 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.2755, allocations: 0 / 1.194 GB, free: 6.445 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.77e-05/0.2755, allocations: 7.938 kB / 1.194 GB, free: 6.438 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2755, allocations: 3.938 kB / 1.194 GB, free: 6.434 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-06/0.2755, allocations: 0 / 1.194 GB, free: 6.434 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.2756, allocations: 4 kB / 1.194 GB, free: 6.43 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.2756, allocations: 0 / 1.194 GB, free: 6.43 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.471e-05/0.2757, allocations: 0 / 1.194 GB, free: 6.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2757, allocations: 0 / 1.194 GB, free: 6.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2757, allocations: 0 / 1.194 GB, free: 6.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2757, allocations: 0 / 1.194 GB, free: 6.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003336/0.276, allocations: 242.4 kB / 1.194 GB, free: 6.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.2761, allocations: 12.03 kB / 1.194 GB, free: 6.148 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.2761, allocations: 4.938 kB / 1.194 GB, free: 6.145 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2762, allocations: 106.5 kB / 1.194 GB, free: 6.016 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2762, allocations: 384 / 1.194 GB, free: 6.016 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.2762, allocations: 384 / 1.194 GB, free: 6.016 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.2763, allocations: 30.27 kB / 1.194 GB, free: 5.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2763, allocations: 192 / 1.194 GB, free: 5.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2764, allocations: 3.938 kB / 1.194 GB, free: 5.977 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2764, allocations: 0 / 1.194 GB, free: 5.977 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.2764, allocations: 11.92 kB / 1.194 GB, free: 5.965 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.2767, allocations: 331.1 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.575e-05/0.2768, allocations: 173.1 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.2769, allocations: 80.58 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.2769, allocations: 79.22 kB / 1.195 GB, free: 5.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.2769, allocations: 117.8 kB / 1.195 GB, free: 5.145 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.2769, allocations: 0 / 1.195 GB, free: 5.145 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 8.011e-05/0.277, allocations: 29.69 kB / 1.195 GB, free: 5.109 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.2771, allocations: 130.7 kB / 1.195 GB, free: 4.969 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2772, allocations: 93.86 kB / 1.195 GB, free: 4.867 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.2772, allocations: 25.7 kB / 1.195 GB, free: 4.836 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.2772, allocations: 80.14 kB / 1.195 GB, free: 4.754 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.2772, allocations: 4.125 kB / 1.195 GB, free: 4.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.2773, allocations: 9.719 kB / 1.195 GB, free: 4.734 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2774, allocations: 318.8 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-06/0.2774, allocations: 0 / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.2774, allocations: 0 / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.2774, allocations: 75.28 kB / 1.195 GB, free: 4.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.488e-05/0.2774, allocations: 79.28 kB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.311e-05/0.2775, allocations: 41.56 kB / 1.196 GB, free: 4.215 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.2775, allocations: 79.28 kB / 1.196 GB, free: 4.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.2775, allocations: 75.28 kB / 1.196 GB, free: 4.062 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.674e-05/0.2776, allocations: 158.5 kB / 1.196 GB, free: 3.906 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.372e-05/0.2776, allocations: 79.28 kB / 1.196 GB, free: 3.828 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.654e-05/0.2777, allocations: 154.5 kB / 1.196 GB, free: 3.676 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.2777, allocations: 80.75 kB / 1.196 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.2777, allocations: 79.28 kB / 1.196 GB, free: 3.52 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 (0): * Single equations (assignments): 0 * 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.0001158/0.2779, allocations: 264.4 kB / 1.196 GB, free: 3.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.2779, allocations: 108.9 kB / 1.197 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.278, allocations: 104 kB / 1.197 GB, free: 3.031 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.724e-05/0.278, allocations: 184.2 kB / 1.197 GB, free: 2.844 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-05/0.2781, allocations: 180.3 kB / 1.197 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.31e-05/0.2781, allocations: 180.2 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2783, allocations: 356.8 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/0.2783, allocations: 101 kB / 1.198 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.2783, allocations: 108.9 kB / 1.198 GB, free: 1.871 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.168e-05/0.2784, allocations: 192.2 kB / 1.198 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.2785, allocations: 180.2 kB / 1.198 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.822e-05/0.2785, allocations: 180.5 kB / 1.198 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.628e-05/0.2786, allocations: 180.3 kB / 1.198 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.2787, allocations: 311.8 kB / 1.199 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.2788, allocations: 104.9 kB / 1.199 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/0.2792, allocations: 184.2 kB / 1.199 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.2793, allocations: 105 kB / 1.199 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.2793, allocations: 192.1 kB / 1.199 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.2794, allocations: 101 kB / 1.199 GB, free: 92 kB / 0.823 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.2794, allocations: 79.28 kB / 1.199 GB, free: 12 kB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2794, allocations: 0 / 1.199 GB, free: 12 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.000163/0.2796, allocations: 0 / 1.199 GB, free: 12 kB / 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 (0): * Single equations (assignments): 0 * 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.0001813/0.2798, allocations: 170.5 kB / 1.2 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 6.833e-05/0.2798, allocations: 0 / 1.2 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.2798, allocations: 3.938 kB / 1.2 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.2798, allocations: 4.094 kB / 1.2 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2802, allocations: 457.7 kB / 1.2 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.2805, allocations: 193.8 kB / 1.2 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.616e-05/0.2805, allocations: 51.36 kB / 1.2 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.2805, allocations: 7.438 kB / 1.2 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of SimCode: time 8.61e-07/0.2805, allocations: 0 / 1.2 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of Templates: time 0.001515/0.2821, allocations: 315.9 kB / 1.201 GB, free: 14.77 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.146624992601573] Failed to read output from testmodel.py, exit status != 0: 0.289723833091557 0.303985113 0.025977257 Calling exit ...