Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.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.0007845/0.0007845, 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.000801/0.000801, allocations: 211.7 kB / 23.01 MB, free: 3.098 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.8802/0.8802, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.03635/0.03635, allocations: 12.18 MB / 325.4 MB, free: 3.449 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.0004984/0.0004984, allocations: 31.14 kB / 384.9 MB, free: 45.82 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.644/1.644, allocations: 353.8 MB / 0.7795 GB, free: 13.07 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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos") [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.001473/0.001473, allocations: 132.8 kB / 1.061 GB, free: 9.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2231, allocations: 134.9 MB / 1.193 GB, free: 2.57 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001409/0.2245, allocations: 0.6634 MB / 1.194 GB, free: 1.906 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000727/0.2252, allocations: 0.8576 MB / 1.195 GB, free: 1.039 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.2252, allocations: 0 / 1.195 GB, free: 1.039 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.2253, allocations: 3.938 kB / 1.195 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.2253, allocations: 7.938 kB / 1.195 GB, free: 1.027 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.2255, allocations: 7.984 kB / 1.195 GB, free: 1.02 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.2256, allocations: 27.92 kB / 1.195 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.2257, allocations: 4 kB / 1.195 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.2257, allocations: 19.91 kB / 1.195 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.2258, allocations: 11.94 kB / 1.195 GB, free: 0.957 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.2258, allocations: 4 kB / 1.195 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.2258, allocations: 4 kB / 1.195 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.2259, allocations: 7.922 kB / 1.195 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.2259, allocations: 4 kB / 1.195 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.226, allocations: 31.84 kB / 1.195 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.226, allocations: 0 / 1.195 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.465e-06/0.226, allocations: 0 / 1.195 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.226, allocations: 0 / 1.195 GB, free: 0.9062 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003723/0.2264, allocations: 262.4 kB / 1.195 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2264, allocations: 11.98 kB / 1.195 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.957e-05/0.2265, allocations: 8.891 kB / 1.195 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.411e-05/0.2266, allocations: 114.5 kB / 1.195 GB, free: 472 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2266, allocations: 4.375 kB / 1.195 GB, free: 468 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.2266, allocations: 384 / 1.195 GB, free: 468 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.2267, allocations: 50.23 kB / 1.195 GB, free: 412 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2267, allocations: 4.188 kB / 1.195 GB, free: 408 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.2267, allocations: 3.938 kB / 1.195 GB, free: 404 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2267, allocations: 0 / 1.195 GB, free: 404 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.309e-05/0.2268, allocations: 31.97 kB / 1.195 GB, free: 372 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.2271, allocations: 212 kB / 1.195 GB, free: 116 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.147e-05/0.2272, allocations: 54.41 kB / 1.195 GB, free: 52 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.2273, allocations: 20.91 kB / 1.195 GB, free: 28 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.2273, allocations: 0 / 1.195 GB, free: 28 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.2273, allocations: 34.56 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2273, allocations: 0 / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2): time 0.000238/0.2275, allocations: 85.62 kB / 1.196 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.2276, allocations: 55.41 kB / 1.196 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.2276, allocations: 101.8 kB / 1.196 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.2276, allocations: 25.7 kB / 1.196 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.2277, allocations: 88.08 kB / 1.196 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.2277, allocations: 3.953 kB / 1.196 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.2277, allocations: 13.72 kB / 1.196 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.2278, allocations: 314.8 kB / 1.196 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.2278, allocations: 20 kB / 1.196 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.2279, allocations: 19.98 kB / 1.196 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.522e-05/0.228, allocations: 36.83 kB / 1.196 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.228, allocations: 0 / 1.196 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.2281, allocations: 77.59 kB / 1.196 GB, free: 15.1 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2281, allocations: 8 kB / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2281, allocations: 0 / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2281, allocations: 0 / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.2282, allocations: 11.92 kB / 1.196 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2282, allocations: 0 / 1.196 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.2282, allocations: 7.984 kB / 1.196 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2282, allocations: 4 kB / 1.196 GB, free: 15.07 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 (2): * Single equations (assignments): 2 * 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 5.068e-05/0.2282, allocations: 113.8 kB / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.2283, allocations: 4 kB / 1.196 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.2284, allocations: 68.97 kB / 1.196 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2284, allocations: 3.938 kB / 1.196 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2284, allocations: 0 / 1.196 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2284, allocations: 0 / 1.196 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2285, allocations: 132.7 kB / 1.197 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.2285, allocations: 0 / 1.197 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.2285, allocations: 12.22 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2285, allocations: 0 / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2285, allocations: 3.984 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2285, allocations: 3.938 kB / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2285, allocations: 3.984 kB / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.2286, allocations: 171.4 kB / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-06/0.2287, allocations: 4 kB / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.2287, allocations: 0 / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.495e-05/0.2287, allocations: 4 kB / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.2287, allocations: 3.984 kB / 1.197 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2287, allocations: 4 kB / 1.197 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.2288, allocations: 79.28 kB / 1.197 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2288, allocations: 3.938 kB / 1.197 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001445/0.2289, allocations: 4 kB / 1.197 GB, free: 14.38 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 (2): * Single equations (assignments): 2 * 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 8.814e-05/0.229, allocations: 95.28 kB / 1.197 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.2291, allocations: 35.95 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.2291, allocations: 0 / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.2292, allocations: 19.98 kB / 1.197 GB, free: 14.22 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.2294, allocations: 7.938 kB / 1.197 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.2296, allocations: 144 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.2298, allocations: 0.6768 MB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.2298, allocations: 7.438 kB / 1.198 GB, free: 13.33 MB / 0.8387 GB Notification: Performance of SimCode: time 4.31e-07/0.2298, allocations: 0 / 1.198 GB, free: 13.33 MB / 0.8387 GB Notification: Performance of Templates: time 0.001423/0.2312, allocations: 0.5503 MB / 1.198 GB, free: 12.78 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.603600597009063] Failed to read output from testmodel.py, exit status != 0: 0.23724139295518398 0.245312351 0.017637628000000002 Calling exit ...