Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.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.001378/0.001378, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001476/0.001476, allocations: 217 kB / 22.25 MB, free: 5.082 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 8.012 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.06335/0.06335, allocations: 12.2 MB / 324.6 MB, free: 7.277 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.0008022/0.0008022, allocations: 32.17 kB / 384.1 MB, free: 46.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.629/2.629, allocations: 353.8 MB / 0.7787 GB, free: 1.07 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.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.003528/0.003528, allocations: 123.5 kB / 1.061 GB, free: 13.06 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2788, allocations: 134.9 MB / 1.192 GB, free: 6.242 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001646/0.2804, allocations: 0.5467 MB / 1.193 GB, free: 5.699 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 3.389e-05/0.2805, allocations: 3.938 kB / 1.193 GB, free: 5.695 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.2805, allocations: 0 / 1.193 GB, free: 5.695 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.2805, allocations: 0 / 1.193 GB, free: 5.695 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 2.422e-05/0.2806, allocations: 4 kB / 1.193 GB, free: 5.691 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 2.728e-05/0.2806, allocations: 4 kB / 1.193 GB, free: 5.688 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.2806, allocations: 0 / 1.193 GB, free: 5.688 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.2807, allocations: 4 kB / 1.193 GB, free: 5.684 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.2807, allocations: 3.938 kB / 1.193 GB, free: 5.68 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 1.577e-05/0.2807, allocations: 0 / 1.193 GB, free: 5.68 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.2807, allocations: 0 / 1.193 GB, free: 5.68 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-06/0.2807, allocations: 0 / 1.193 GB, free: 5.68 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.2807, allocations: 0 / 1.193 GB, free: 5.68 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.2808, allocations: 4 kB / 1.193 GB, free: 5.676 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 5.422e-05/0.2808, allocations: 7.969 kB / 1.193 GB, free: 5.668 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2808, allocations: 4 kB / 1.193 GB, free: 5.664 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2808, allocations: 0 / 1.193 GB, free: 5.664 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2808, allocations: 0 / 1.193 GB, free: 5.664 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002949/0.2811, allocations: 238.4 kB / 1.193 GB, free: 5.398 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2812, allocations: 11.98 kB / 1.193 GB, free: 5.387 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.2812, allocations: 4.922 kB / 1.193 GB, free: 5.383 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2813, allocations: 114.4 kB / 1.193 GB, free: 5.246 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2813, allocations: 384 / 1.193 GB, free: 5.246 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.2813, allocations: 384 / 1.193 GB, free: 5.246 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.2814, allocations: 34.27 kB / 1.193 GB, free: 5.207 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2814, allocations: 192 / 1.193 GB, free: 5.207 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2814, allocations: 7.938 kB / 1.193 GB, free: 5.199 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2814, allocations: 0 / 1.193 GB, free: 5.199 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.195e-05/0.2814, allocations: 0 / 1.193 GB, free: 5.199 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.2818, allocations: 350.6 kB / 1.194 GB, free: 4.812 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.2819, allocations: 177 kB / 1.194 GB, free: 4.629 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.282, allocations: 80.61 kB / 1.194 GB, free: 4.547 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.282, allocations: 79.28 kB / 1.194 GB, free: 4.469 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.821e-05/0.2821, allocations: 109.8 kB / 1.194 GB, free: 4.352 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.2821, allocations: 0 / 1.194 GB, free: 4.352 MB / 0.8263 GB Notification: Performance of matching and sorting (n=0): time 7.439e-05/0.2822, allocations: 33.64 kB / 1.194 GB, free: 4.312 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.2822, allocations: 130.7 kB / 1.194 GB, free: 4.172 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.2823, allocations: 105.8 kB / 1.194 GB, free: 4.059 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2823, allocations: 25.7 kB / 1.194 GB, free: 4.027 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.2824, allocations: 80.14 kB / 1.194 GB, free: 3.945 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.2824, allocations: 0 / 1.194 GB, free: 3.945 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.2824, allocations: 13.72 kB / 1.194 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2826, allocations: 310.8 kB / 1.195 GB, free: 3.613 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-06/0.2826, allocations: 128 / 1.195 GB, free: 3.613 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-06/0.2826, allocations: 4 kB / 1.195 GB, free: 3.609 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.2826, allocations: 75.28 kB / 1.195 GB, free: 3.535 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.284e-05/0.2827, allocations: 79.28 kB / 1.195 GB, free: 3.457 MB / 0.8263 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.108e-05/0.2827, allocations: 37.62 kB / 1.195 GB, free: 3.414 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.2828, allocations: 79.28 kB / 1.195 GB, free: 3.336 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/0.2828, allocations: 79.22 kB / 1.195 GB, free: 3.258 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.111e-05/0.2829, allocations: 154.6 kB / 1.195 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.2829, allocations: 85 kB / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.395e-05/0.283, allocations: 150.6 kB / 1.195 GB, free: 2.875 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/0.2831, allocations: 75.28 kB / 1.195 GB, free: 2.801 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.2831, allocations: 83.22 kB / 1.196 GB, free: 2.719 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: 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.0001459/0.2833, allocations: 269 kB / 1.196 GB, free: 2.445 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.2833, allocations: 105 kB / 1.196 GB, free: 2.336 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.274e-05/0.2834, allocations: 116 kB / 1.196 GB, free: 2.215 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.053e-05/0.2835, allocations: 176.3 kB / 1.196 GB, free: 2.035 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.429e-05/0.2836, allocations: 180.2 kB / 1.196 GB, free: 1.852 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.38e-05/0.2837, allocations: 184.2 kB / 1.196 GB, free: 1.664 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.2839, allocations: 372.2 kB / 1.197 GB, free: 1.25 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.217e-05/0.284, allocations: 112.9 kB / 1.197 GB, free: 1.133 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.284, allocations: 105 kB / 1.197 GB, free: 1.023 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.673e-05/0.2841, allocations: 192.2 kB / 1.197 GB, free: 0.8281 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/0.2842, allocations: 176.3 kB / 1.197 GB, free: 0.6484 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.869e-05/0.2843, allocations: 176.6 kB / 1.198 GB, free: 480 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.725e-05/0.2844, allocations: 184.2 kB / 1.198 GB, free: 288 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.2846, allocations: 319.7 kB / 1.198 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.2847, allocations: 105 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.2847, allocations: 176.3 kB / 1.198 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.2848, allocations: 104.9 kB / 1.198 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.2849, allocations: 188.2 kB / 1.199 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.285, allocations: 108.9 kB / 1.199 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.285, allocations: 75.28 kB / 1.199 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/0.285, allocations: 0 / 1.199 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002515/0.2853, allocations: 4 kB / 1.199 GB, free: 15.16 MB / 0.8419 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.00015/0.2854, allocations: 170.6 kB / 1.199 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 3.77e-05/0.2854, allocations: 0 / 1.199 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2855, allocations: 3.938 kB / 1.199 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.2855, allocations: 0 / 1.199 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2859, allocations: 462.4 kB / 1.199 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.2861, allocations: 164.1 kB / 1.2 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.2865, allocations: 0.6768 MB / 1.2 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.282e-06/0.2865, allocations: 0 / 1.2 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.2865, allocations: 7.438 kB / 1.2 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.2865, allocations: 0 / 1.2 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of Templates: time 0.00212/0.2886, allocations: 164.8 kB / 1.2 GB, free: 13.47 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.166511964052916] Failed to read output from testmodel.py, exit status != 0: 0.2964556887745857 0.31113340500000003 0.027292722000000002 Calling exit ...