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.0007472/0.0007472, allocations: 115 kB / 19.7 MB, free: 0.5234 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.0008017/0.0008017, allocations: 211.8 kB / 23 MB, free: 3.117 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.902/0.902, allocations: 230.6 MB / 256.8 MB, free: 3.43 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.03874/0.03874, allocations: 12.18 MB / 325.4 MB, free: 3.496 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.0004048/0.0004048, allocations: 31.36 kB / 384.9 MB, free: 45.7 MB / 298.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.615/1.615, allocations: 353.8 MB / 0.7794 GB, free: 13.06 MB / 0.5262 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.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.001453/0.001453, allocations: 124.2 kB / 1.061 GB, free: 9.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2259, allocations: 134.9 MB / 1.193 GB, free: 2.574 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001502/0.2274, allocations: 0.5427 MB / 1.194 GB, free: 2.035 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 4.366e-05/0.2275, allocations: 0 / 1.194 GB, free: 2.035 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.2275, allocations: 0 / 1.194 GB, free: 2.035 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.2275, allocations: 0 / 1.194 GB, free: 2.035 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.2276, allocations: 3.938 kB / 1.194 GB, free: 2.031 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.521e-05/0.2276, allocations: 4 kB / 1.194 GB, free: 2.027 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.916e-05/0.2277, allocations: 4 kB / 1.194 GB, free: 2.023 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.2277, allocations: 4 kB / 1.194 GB, free: 2.02 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.2278, allocations: 3.938 kB / 1.194 GB, free: 2.016 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.316e-05/0.2278, allocations: 0 / 1.194 GB, free: 2.016 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2278, allocations: 0 / 1.194 GB, free: 2.016 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-06/0.2278, allocations: 4 kB / 1.194 GB, free: 2.012 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.2278, allocations: 3.984 kB / 1.194 GB, free: 2.008 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.2279, allocations: 3.938 kB / 1.194 GB, free: 2.004 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.358e-05/0.2279, allocations: 3.984 kB / 1.194 GB, free: 2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2279, allocations: 4 kB / 1.194 GB, free: 1.996 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2279, allocations: 0 / 1.194 GB, free: 1.996 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2279, allocations: 0 / 1.194 GB, free: 1.996 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.0002887/0.2282, allocations: 242.4 kB / 1.194 GB, free: 1.727 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2283, allocations: 19.97 kB / 1.194 GB, free: 1.707 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.2283, allocations: 0.9375 kB / 1.194 GB, free: 1.707 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.981e-05/0.2284, allocations: 106.5 kB / 1.194 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2284, allocations: 384 / 1.194 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2284, allocations: 384 / 1.194 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.378e-05/0.2285, allocations: 38.2 kB / 1.194 GB, free: 1.535 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2285, allocations: 192 / 1.194 GB, free: 1.535 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2285, allocations: 7.938 kB / 1.194 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.2285, allocations: 0 / 1.194 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.2285, allocations: 0 / 1.194 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.2288, allocations: 350.6 kB / 1.194 GB, free: 1.141 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.965e-05/0.2289, allocations: 181 kB / 1.194 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.2289, allocations: 84.58 kB / 1.195 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2289, allocations: 75.28 kB / 1.195 GB, free: 0.793 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.229, allocations: 105.8 kB / 1.195 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.229, allocations: 0 / 1.195 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.984e-05/0.229, allocations: 28.08 kB / 1.195 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.2291, allocations: 134.7 kB / 1.195 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.2292, allocations: 101.8 kB / 1.195 GB, free: 404 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/0.2292, allocations: 25.7 kB / 1.195 GB, free: 372 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.2292, allocations: 84.14 kB / 1.195 GB, free: 284 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.2292, allocations: 0 / 1.195 GB, free: 284 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.2292, allocations: 9.719 kB / 1.195 GB, free: 268 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.2293, allocations: 314.8 kB / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/0.2293, allocations: 0 / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-06/0.2293, allocations: 0 / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.2293, allocations: 83.28 kB / 1.195 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/0.2294, allocations: 79.41 kB / 1.196 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.045e-05/0.2294, allocations: 33.62 kB / 1.196 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.2294, allocations: 85.47 kB / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/0.2295, allocations: 79.22 kB / 1.196 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.657e-05/0.2296, allocations: 150.6 kB / 1.196 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.527e-05/0.2296, allocations: 75.28 kB / 1.196 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.291e-05/0.2296, allocations: 158.5 kB / 1.196 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.2297, allocations: 79.28 kB / 1.196 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2297, allocations: 79.22 kB / 1.196 GB, free: 15.05 MB / 0.8387 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 8.938e-05/0.2298, allocations: 272.9 kB / 1.197 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.2298, allocations: 105 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.2299, allocations: 108.1 kB / 1.197 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-05/0.2299, allocations: 184.2 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.576e-05/0.23, allocations: 176.3 kB / 1.197 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.527e-05/0.23, allocations: 192.2 kB / 1.197 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.2301, allocations: 368.2 kB / 1.198 GB, free: 13.58 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/0.2302, allocations: 105 kB / 1.198 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.2302, allocations: 120.9 kB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.113e-05/0.2302, allocations: 180.3 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.2303, allocations: 180.2 kB / 1.198 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-05/0.2303, allocations: 176.6 kB / 1.198 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.242e-05/0.2304, allocations: 184.2 kB / 1.198 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.2305, allocations: 319.7 kB / 1.199 GB, free: 12.27 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.2305, allocations: 104.9 kB / 1.199 GB, free: 12.16 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.2306, allocations: 176.3 kB / 1.199 GB, free: 11.98 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.2306, allocations: 105 kB / 1.199 GB, free: 11.88 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2307, allocations: 184.2 kB / 1.199 GB, free: 11.69 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.2307, allocations: 109 kB / 1.199 GB, free: 11.57 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.2307, allocations: 79.28 kB / 1.2 GB, free: 11.5 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2307, allocations: 0 / 1.2 GB, free: 11.5 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001662/0.2309, allocations: 0 / 1.2 GB, free: 11.5 MB / 0.8387 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.0001525/0.231, allocations: 166.5 kB / 1.2 GB, free: 11.32 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 4.88e-05/0.2311, allocations: 3.938 kB / 1.2 GB, free: 11.32 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2311, allocations: 4.094 kB / 1.2 GB, free: 11.31 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.2311, allocations: 4 kB / 1.2 GB, free: 11.31 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2314, allocations: 459.6 kB / 1.2 GB, free: 10.86 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.2316, allocations: 181.9 kB / 1.2 GB, free: 10.64 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.2318, allocations: 0.669 MB / 1.201 GB, free: 9.949 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.2318, allocations: 7.438 kB / 1.201 GB, free: 9.941 MB / 0.8387 GB Notification: Performance of SimCode: time 7.32e-07/0.2318, allocations: 4 kB / 1.201 GB, free: 9.938 MB / 0.8387 GB Notification: Performance of Templates: time 0.001208/0.233, allocations: 329.3 kB / 1.201 GB, free: 9.617 MB / 0.8387 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: 6.515972539782524] Failed to read output from testmodel.py, exit status != 0: 0.23942436929792166 0.248016333 0.018355558 Calling exit ...