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.0007543/0.0007543, allocations: 115 kB / 19.7 MB, free: 0.5312 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.0007981/0.0007981, allocations: 203.2 kB / 23 MB, free: 3.129 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.8721/0.8721, allocations: 230.6 MB / 256.8 MB, free: 3.566 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.03642/0.03642, allocations: 12.2 MB / 325.4 MB, free: 3.438 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.000399/0.000399, allocations: 37.62 kB / 384.9 MB, free: 45.9 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.581/1.581, allocations: 353.8 MB / 0.7794 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.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.00139/0.00139, allocations: 128 kB / 1.061 GB, free: 9.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2126, allocations: 134.9 MB / 1.193 GB, free: 2.613 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001317/0.2139, allocations: 0.6338 MB / 1.194 GB, free: 1.984 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006783/0.2145, allocations: 0.8304 MB / 1.194 GB, free: 1.145 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.2146, allocations: 0 / 1.194 GB, free: 1.145 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.61e-05/0.2147, allocations: 7.922 kB / 1.194 GB, free: 1.137 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 1.713e-05/0.2147, allocations: 0 / 1.194 GB, free: 1.137 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.2148, allocations: 8 kB / 1.194 GB, free: 1.129 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.2149, allocations: 27.92 kB / 1.194 GB, free: 1.102 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.006e-05/0.215, allocations: 4 kB / 1.194 GB, free: 1.098 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.215, allocations: 19.86 kB / 1.194 GB, free: 1.078 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.2151, allocations: 7.984 kB / 1.194 GB, free: 1.07 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2151, allocations: 4 kB / 1.194 GB, free: 1.066 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-06/0.2151, allocations: 4 kB / 1.194 GB, free: 1.062 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.2152, allocations: 11.92 kB / 1.194 GB, free: 1.051 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.2152, allocations: 15.92 kB / 1.195 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.708e-05/0.2153, allocations: 31.77 kB / 1.195 GB, free: 1.004 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2153, allocations: 4 kB / 1.195 GB, free: 1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2153, allocations: 4 kB / 1.195 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2153, allocations: 0 / 1.195 GB, free: 0.9961 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003346/0.2156, allocations: 272.4 kB / 1.195 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2156, allocations: 8.031 kB / 1.195 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.2157, allocations: 0.9375 kB / 1.195 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2158, allocations: 114.4 kB / 1.195 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2158, allocations: 4.375 kB / 1.195 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2158, allocations: 4.375 kB / 1.195 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.2159, allocations: 62.23 kB / 1.195 GB, free: 492 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2159, allocations: 192 / 1.195 GB, free: 492 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2159, allocations: 3.938 kB / 1.195 GB, free: 488 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.216, allocations: 0 / 1.195 GB, free: 488 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.782e-05/0.216, allocations: 39.89 kB / 1.195 GB, free: 448 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.2163, allocations: 244 kB / 1.195 GB, free: 160 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.2164, allocations: 34.56 kB / 1.195 GB, free: 116 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.2164, allocations: 20.89 kB / 1.195 GB, free: 92 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.2164, allocations: 0 / 1.195 GB, free: 92 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2164, allocations: 34.5 kB / 1.195 GB, free: 48 kB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.2164, allocations: 0 / 1.195 GB, free: 48 kB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002077/0.2167, allocations: 77.66 kB / 1.195 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.2167, allocations: 59.39 kB / 1.195 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.2167, allocations: 101.8 kB / 1.196 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.2168, allocations: 25.7 kB / 1.196 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.2168, allocations: 92.08 kB / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.2168, allocations: 0 / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.2168, allocations: 17.84 kB / 1.196 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.2169, allocations: 318.8 kB / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.2169, allocations: 11.98 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.217, allocations: 19.92 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.217, allocations: 36.81 kB / 1.196 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.217, allocations: 4.062 kB / 1.196 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.094e-05/0.2171, allocations: 61.61 kB / 1.196 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2171, allocations: 8 kB / 1.196 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2171, allocations: 0 / 1.196 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2172, allocations: 3.938 kB / 1.196 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.2172, allocations: 8 kB / 1.196 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2172, allocations: 0 / 1.196 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.2172, allocations: 8.016 kB / 1.196 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.2172, allocations: 4 kB / 1.196 GB, free: 15.14 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 (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 5.082e-05/0.2173, allocations: 113.8 kB / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.2173, allocations: 0 / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.2173, allocations: 7.141 kB / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2173, allocations: 7.938 kB / 1.196 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2173, allocations: 0 / 1.196 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2173, allocations: 0 / 1.196 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.78e-05/0.2174, allocations: 132.7 kB / 1.196 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-07/0.2174, allocations: 0 / 1.196 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.2175, allocations: 16.23 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.2175, allocations: 0 / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2175, allocations: 4 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.2175, allocations: 0 / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2175, allocations: 0 / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.2176, allocations: 159.5 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.2176, allocations: 11.92 kB / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-06/0.2176, allocations: 0 / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.2176, allocations: 7.984 kB / 1.197 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2177, allocations: 3.938 kB / 1.197 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.2177, allocations: 0 / 1.197 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.2177, allocations: 87.27 kB / 1.197 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2177, allocations: 0 / 1.197 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001461/0.2178, allocations: 11.89 kB / 1.197 GB, free: 14.52 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 (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 7.907e-05/0.2179, allocations: 99.28 kB / 1.197 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.218, allocations: 27.97 kB / 1.197 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-06/0.218, allocations: 4 kB / 1.197 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.2181, allocations: 19.97 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.2183, allocations: 11.77 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.2188, allocations: 143.3 kB / 1.197 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.2189, allocations: 0.6807 MB / 1.198 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.219, allocations: 7.438 kB / 1.198 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of SimCode: time 3.71e-07/0.219, allocations: 0 / 1.198 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of Templates: time 0.001354/0.2203, allocations: 0.5786 MB / 1.198 GB, free: 12.89 MB / 0.8387 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: 6.599654161371291] Failed to read output from testmodel.py, exit status != 0: 0.22595213912427425 0.23414115900000002 0.016953752000000002 Calling exit ...