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.001355/0.001355, allocations: 113 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.001703/0.001703, allocations: 211.2 kB / 22.25 MB, free: 5.086 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 8.016 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.1028/0.1028, allocations: 12.19 MB / 324.6 MB, free: 7.266 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.00078/0.00078, allocations: 27.39 kB / 384.1 MB, free: 46.59 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.988/2.988, allocations: 353.8 MB / 0.7787 GB, free: 1.258 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.00577/0.00577, allocations: 120.8 kB / 1.061 GB, free: 13.1 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3273, allocations: 134.9 MB / 1.192 GB, free: 6.285 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002259/0.3296, allocations: 0.6348 MB / 1.193 GB, free: 5.652 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3308, allocations: 0.8396 MB / 1.194 GB, free: 4.801 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.3309, allocations: 0 / 1.194 GB, free: 4.801 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.331, allocations: 4 kB / 1.194 GB, free: 4.797 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 2.736e-05/0.331, allocations: 7.938 kB / 1.194 GB, free: 4.789 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.3311, allocations: 7.984 kB / 1.194 GB, free: 4.781 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3312, allocations: 27.92 kB / 1.194 GB, free: 4.754 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3313, allocations: 0 / 1.194 GB, free: 4.754 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.3314, allocations: 19.91 kB / 1.194 GB, free: 4.734 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.3315, allocations: 11.98 kB / 1.194 GB, free: 4.723 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3315, allocations: 4 kB / 1.194 GB, free: 4.719 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 6.633e-06/0.3315, allocations: 0 / 1.194 GB, free: 4.719 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.3315, allocations: 11.94 kB / 1.194 GB, free: 4.707 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.3316, allocations: 7.938 kB / 1.194 GB, free: 4.699 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3317, allocations: 31.83 kB / 1.194 GB, free: 4.668 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3317, allocations: 4 kB / 1.194 GB, free: 4.664 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3317, allocations: 0 / 1.194 GB, free: 4.664 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3317, allocations: 0 / 1.194 GB, free: 4.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004906/0.3322, allocations: 270.2 kB / 1.194 GB, free: 4.367 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3322, allocations: 15.98 kB / 1.194 GB, free: 4.352 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.3323, allocations: 4.938 kB / 1.194 GB, free: 4.348 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3324, allocations: 114.5 kB / 1.194 GB, free: 4.211 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3324, allocations: 384 / 1.194 GB, free: 4.211 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3324, allocations: 8.375 kB / 1.194 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.3326, allocations: 54.23 kB / 1.194 GB, free: 4.145 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3326, allocations: 192 / 1.194 GB, free: 4.145 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3326, allocations: 3.938 kB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3326, allocations: 4 kB / 1.194 GB, free: 4.137 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3328, allocations: 35.95 kB / 1.194 GB, free: 4.102 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.3333, allocations: 251.9 kB / 1.195 GB, free: 3.812 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3334, allocations: 30.56 kB / 1.195 GB, free: 3.773 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.3335, allocations: 20.91 kB / 1.195 GB, free: 3.75 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.3335, allocations: 0 / 1.195 GB, free: 3.75 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.3336, allocations: 30.56 kB / 1.195 GB, free: 3.711 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3336, allocations: 4 kB / 1.195 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1): time 0.0003462/0.3339, allocations: 81.58 kB / 1.195 GB, free: 3.621 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.334, allocations: 55.34 kB / 1.195 GB, free: 3.555 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3341, allocations: 105.8 kB / 1.195 GB, free: 3.441 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3341, allocations: 25.7 kB / 1.195 GB, free: 3.41 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.3341, allocations: 84.09 kB / 1.195 GB, free: 3.324 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3341, allocations: 4.125 kB / 1.195 GB, free: 3.32 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.3342, allocations: 21.7 kB / 1.195 GB, free: 3.293 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3343, allocations: 314.8 kB / 1.195 GB, free: 2.977 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.3344, allocations: 15.92 kB / 1.195 GB, free: 2.961 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.3345, allocations: 15.98 kB / 1.195 GB, free: 2.945 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3346, allocations: 44.81 kB / 1.195 GB, free: 2.898 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3346, allocations: 0 / 1.195 GB, free: 2.898 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001955/0.3348, allocations: 61.62 kB / 1.195 GB, free: 2.832 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3349, allocations: 4 kB / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3349, allocations: 256 / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3349, allocations: 3.984 kB / 1.195 GB, free: 2.824 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.335, allocations: 12 kB / 1.195 GB, free: 2.812 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.335, allocations: 4.031 kB / 1.195 GB, free: 2.809 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.335, allocations: 11.98 kB / 1.195 GB, free: 2.797 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.335, allocations: 0 / 1.195 GB, free: 2.797 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 8.573e-05/0.3351, allocations: 110.4 kB / 1.196 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3351, allocations: 7.984 kB / 1.196 GB, free: 2.672 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.3352, allocations: 3.156 kB / 1.196 GB, free: 2.668 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3352, allocations: 0 / 1.196 GB, free: 2.668 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3352, allocations: 3.984 kB / 1.196 GB, free: 2.664 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3352, allocations: 0 / 1.196 GB, free: 2.664 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3353, allocations: 144.6 kB / 1.196 GB, free: 2.48 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3353, allocations: 0 / 1.196 GB, free: 2.48 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.3354, allocations: 11.92 kB / 1.196 GB, free: 2.469 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3354, allocations: 0 / 1.196 GB, free: 2.469 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3354, allocations: 0 / 1.196 GB, free: 2.469 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3354, allocations: 4 kB / 1.196 GB, free: 2.465 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3354, allocations: 0 / 1.196 GB, free: 2.465 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.3357, allocations: 159.5 kB / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.3357, allocations: 0 / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.3357, allocations: 0 / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.3357, allocations: 11.92 kB / 1.196 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.3358, allocations: 4 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.3358, allocations: 0 / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.3358, allocations: 83.28 kB / 1.196 GB, free: 2.195 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3358, allocations: 0 / 1.196 GB, free: 2.195 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002197/0.3361, allocations: 11.98 kB / 1.196 GB, free: 2.184 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.0001623/0.3362, allocations: 95.23 kB / 1.196 GB, free: 2.078 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3364, allocations: 35.91 kB / 1.196 GB, free: 2.043 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3364, allocations: 0 / 1.196 GB, free: 2.043 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.3365, allocations: 15.98 kB / 1.196 GB, free: 2.027 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3368, allocations: 16.67 kB / 1.196 GB, free: 2.012 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.3372, allocations: 115.3 kB / 1.196 GB, free: 1.875 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3376, allocations: 0.6806 MB / 1.197 GB, free: 1.168 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.3376, allocations: 4 kB / 1.197 GB, free: 1.164 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.3376, allocations: 7.438 kB / 1.197 GB, free: 1.156 MB / 0.8263 GB Notification: Performance of SimCode: time 5.41e-07/0.3376, allocations: 0 / 1.197 GB, free: 1.156 MB / 0.8263 GB Notification: Performance of Templates: time 0.003025/0.3406, allocations: 430.5 kB / 1.197 GB, free: 0.7422 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.763743411749601] Failed to read output from testmodel.py, exit status != 0: 0.351689912378788 0.369189938 0.033024472 Calling exit ...