Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001767/0.001767, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002647/0.002647, allocations: 210.1 kB / 22.24 MB, free: 5.258 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.805 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.06305/0.06305, allocations: 12.19 MB / 324.6 MB, free: 7.09 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.0007754/0.0007754, allocations: 34.86 kB / 384.1 MB, free: 47.44 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.576/2.576, allocations: 353.9 MB / 0.7787 GB, free: 1.625 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.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [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.003458/0.003458, allocations: 122.2 kB / 1.06 GB, free: 12.59 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.303, allocations: 134.9 MB / 1.192 GB, free: 5.789 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00194/0.305, allocations: 0.6387 MB / 1.193 GB, free: 5.156 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.306, allocations: 0.8203 MB / 1.194 GB, free: 4.324 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.3061, allocations: 3.938 kB / 1.194 GB, free: 4.32 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 8.35e-05/0.3062, allocations: 0 / 1.194 GB, free: 4.32 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 2.223e-05/0.3062, allocations: 3.938 kB / 1.194 GB, free: 4.316 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.3063, allocations: 11.94 kB / 1.194 GB, free: 4.305 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.3064, allocations: 23.92 kB / 1.194 GB, free: 4.281 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.3065, allocations: 7.984 kB / 1.194 GB, free: 4.273 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.3065, allocations: 12 kB / 1.194 GB, free: 4.262 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.3066, allocations: 15.91 kB / 1.194 GB, free: 4.246 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.3066, allocations: 4 kB / 1.194 GB, free: 4.242 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-06/0.3066, allocations: 0 / 1.194 GB, free: 4.242 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.3066, allocations: 4 kB / 1.194 GB, free: 4.238 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.3067, allocations: 15.92 kB / 1.194 GB, free: 4.223 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 8.469e-05/0.3068, allocations: 27.84 kB / 1.194 GB, free: 4.195 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3068, allocations: 7.984 kB / 1.194 GB, free: 4.188 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3068, allocations: 0 / 1.194 GB, free: 4.188 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.3068, allocations: 0 / 1.194 GB, free: 4.188 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004718/0.3073, allocations: 270.3 kB / 1.194 GB, free: 3.891 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3073, allocations: 11.98 kB / 1.194 GB, free: 3.879 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3073, allocations: 4.938 kB / 1.194 GB, free: 3.875 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3075, allocations: 122.4 kB / 1.194 GB, free: 3.73 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.3075, allocations: 384 / 1.194 GB, free: 3.73 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-06/0.3075, allocations: 384 / 1.194 GB, free: 3.73 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3077, allocations: 54.23 kB / 1.194 GB, free: 3.672 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3077, allocations: 192 / 1.194 GB, free: 3.672 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3077, allocations: 7.938 kB / 1.194 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3077, allocations: 0 / 1.194 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.3079, allocations: 39.95 kB / 1.194 GB, free: 3.625 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.3083, allocations: 212.6 kB / 1.194 GB, free: 3.387 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3084, allocations: 38.5 kB / 1.194 GB, free: 3.34 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.3085, allocations: 20.89 kB / 1.194 GB, free: 3.316 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3085, allocations: 0 / 1.194 GB, free: 3.316 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.3085, allocations: 34.56 kB / 1.195 GB, free: 3.273 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3085, allocations: 4 kB / 1.195 GB, free: 3.27 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1): time 0.0003398/0.3089, allocations: 81.58 kB / 1.195 GB, free: 3.184 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3089, allocations: 51.41 kB / 1.195 GB, free: 3.121 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.309, allocations: 97.86 kB / 1.195 GB, free: 3.016 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.309, allocations: 29.64 kB / 1.195 GB, free: 2.98 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.3091, allocations: 92.08 kB / 1.195 GB, free: 2.887 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.3091, allocations: 3.984 kB / 1.195 GB, free: 2.883 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3091, allocations: 21.84 kB / 1.195 GB, free: 2.855 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3093, allocations: 310.8 kB / 1.195 GB, free: 2.543 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.3093, allocations: 11.98 kB / 1.195 GB, free: 2.531 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.3094, allocations: 21.81 kB / 1.195 GB, free: 2.512 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3096, allocations: 36.83 kB / 1.195 GB, free: 2.473 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3096, allocations: 4.188 kB / 1.195 GB, free: 2.469 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001991/0.3098, allocations: 69.61 kB / 1.195 GB, free: 2.395 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3098, allocations: 4 kB / 1.195 GB, free: 2.391 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3098, allocations: 4 kB / 1.195 GB, free: 2.387 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3098, allocations: 0 / 1.195 GB, free: 2.387 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.3099, allocations: 8 kB / 1.195 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3099, allocations: 3.984 kB / 1.195 GB, free: 2.375 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.31, allocations: 8 kB / 1.195 GB, free: 2.367 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.31, allocations: 0 / 1.195 GB, free: 2.367 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 (1): * Single equations (assignments): 1 * 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.0001042/0.3101, allocations: 117.8 kB / 1.195 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.3101, allocations: 7.984 kB / 1.195 GB, free: 2.234 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.3101, allocations: 3.156 kB / 1.195 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3101, allocations: 0 / 1.195 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3101, allocations: 0 / 1.195 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3101, allocations: 0 / 1.195 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3103, allocations: 117.2 kB / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3103, allocations: 0 / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.3104, allocations: 4 kB / 1.196 GB, free: 2.082 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3104, allocations: 0 / 1.196 GB, free: 2.082 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3104, allocations: 4 kB / 1.196 GB, free: 2.078 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3104, allocations: 3.984 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3104, allocations: 0 / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3107, allocations: 163.4 kB / 1.196 GB, free: 1.898 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.3107, allocations: 3.984 kB / 1.196 GB, free: 1.895 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3107, allocations: 0 / 1.196 GB, free: 1.895 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.3107, allocations: 4 kB / 1.196 GB, free: 1.891 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3108, allocations: 7.984 kB / 1.196 GB, free: 1.883 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3108, allocations: 4.031 kB / 1.196 GB, free: 1.879 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.251e-05/0.3109, allocations: 83.28 kB / 1.196 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of sort global known variables: time 7e-08/0.3109, allocations: 0 / 1.196 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002371/0.3111, allocations: 7.953 kB / 1.196 GB, free: 1.789 MB / 0.8263 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 (1): * Single equations (assignments): 1 * 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.0001491/0.3112, allocations: 91.25 kB / 1.196 GB, free: 1.688 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3115, allocations: 35.95 kB / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3115, allocations: 3.938 kB / 1.196 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 8.101e-05/0.3116, allocations: 23.98 kB / 1.196 GB, free: 1.625 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3119, allocations: 11.72 kB / 1.196 GB, free: 1.617 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.3123, allocations: 113.5 kB / 1.196 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.184e-05/0.3124, allocations: 67.34 kB / 1.196 GB, free: 1.395 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.3124, allocations: 3.984 kB / 1.196 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.3125, allocations: 11.44 kB / 1.196 GB, free: 1.379 MB / 0.8263 GB Notification: Performance of SimCode: time 3.01e-07/0.3125, allocations: 0 / 1.196 GB, free: 1.379 MB / 0.8263 GB Notification: Performance of Templates: time 0.002873/0.3153, allocations: 452.7 kB / 1.197 GB, free: 0.9414 MB / 0.8263 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.571560993790627] Failed to read output from testmodel.py, exit status != 0: 0.3235347755253315 0.338632213 0.028657912 Calling exit ...