Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001348/0.001348, allocations: 114.3 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.001554/0.001554, allocations: 217.8 kB / 22.26 MB, free: 5.082 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 8.012 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.06586/0.06586, allocations: 12.2 MB / 324.6 MB, free: 7.277 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.0008107/0.0008107, allocations: 28.02 kB / 384.1 MB, free: 46.6 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.509/2.509, allocations: 353.8 MB / 0.7787 GB, free: 1.105 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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [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.003471/0.003471, allocations: 123.6 kB / 1.061 GB, free: 13.09 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2981, allocations: 134.9 MB / 1.192 GB, free: 6.258 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001818/0.2999, allocations: 0.6095 MB / 1.193 GB, free: 5.652 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3014, allocations: 1.169 MB / 1.194 GB, free: 4.473 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.3015, allocations: 4 kB / 1.194 GB, free: 4.469 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 8.632e-05/0.3016, allocations: 4 kB / 1.194 GB, free: 4.465 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 2.46e-05/0.3016, allocations: 7.922 kB / 1.194 GB, free: 4.457 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.3021, allocations: 122.3 kB / 1.194 GB, free: 4.34 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3023, allocations: 87.89 kB / 1.194 GB, free: 4.254 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.3024, allocations: 11.86 kB / 1.194 GB, free: 4.242 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.3024, allocations: 43.91 kB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3025, allocations: 31.89 kB / 1.194 GB, free: 4.168 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.3026, allocations: 12 kB / 1.194 GB, free: 4.156 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.3026, allocations: 19.98 kB / 1.194 GB, free: 4.137 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.3027, allocations: 4 kB / 1.194 GB, free: 4.133 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.3028, allocations: 35.91 kB / 1.194 GB, free: 4.098 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.3029, allocations: 83.78 kB / 1.194 GB, free: 4.016 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3029, allocations: 0 / 1.194 GB, free: 4.016 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3029, allocations: 0 / 1.194 GB, free: 4.016 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.303, allocations: 4 kB / 1.194 GB, free: 4.012 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.0004716/0.3034, allocations: 311.8 kB / 1.195 GB, free: 3.668 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3035, allocations: 11.98 kB / 1.195 GB, free: 3.656 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.3035, allocations: 8.938 kB / 1.195 GB, free: 3.648 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.3037, allocations: 134.4 kB / 1.195 GB, free: 3.492 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3037, allocations: 4.375 kB / 1.195 GB, free: 3.488 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.3038, allocations: 8.359 kB / 1.195 GB, free: 3.48 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3039, allocations: 42.25 kB / 1.195 GB, free: 3.434 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3039, allocations: 192 / 1.195 GB, free: 3.434 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3039, allocations: 7.938 kB / 1.195 GB, free: 3.426 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3039, allocations: 4 kB / 1.195 GB, free: 3.422 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.3039, allocations: 4 kB / 1.195 GB, free: 3.418 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.3043, allocations: 279.9 kB / 1.195 GB, free: 3.102 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 5.661e-05/0.3044, allocations: 18.58 kB / 1.195 GB, free: 3.074 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.3044, allocations: 12.84 kB / 1.195 GB, free: 3.059 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.3044, allocations: 0 / 1.195 GB, free: 3.059 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.3046, allocations: 55.47 kB / 1.195 GB, free: 2.992 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3046, allocations: 0 / 1.195 GB, free: 2.992 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.000175/0.3047, allocations: 69.56 kB / 1.195 GB, free: 2.918 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3048, allocations: 55.41 kB / 1.195 GB, free: 2.852 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3049, allocations: 105.8 kB / 1.196 GB, free: 2.738 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3049, allocations: 29.7 kB / 1.196 GB, free: 2.703 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.305, allocations: 92.09 kB / 1.196 GB, free: 2.609 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.305, allocations: 7.938 kB / 1.196 GB, free: 2.602 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.3051, allocations: 29.7 kB / 1.196 GB, free: 2.566 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3052, allocations: 322.8 kB / 1.196 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.3053, allocations: 31.98 kB / 1.196 GB, free: 2.211 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.331e-05/0.3054, allocations: 46.56 kB / 1.196 GB, free: 2.156 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3055, allocations: 84.52 kB / 1.196 GB, free: 2.059 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3055, allocations: 0 / 1.196 GB, free: 2.059 MB / 0.8263 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002474/0.3057, allocations: 147.4 kB / 1.196 GB, free: 1.902 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.3058, allocations: 39.09 kB / 1.196 GB, free: 1.859 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3058, allocations: 7.938 kB / 1.196 GB, free: 1.852 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3058, allocations: 240 / 1.196 GB, free: 1.852 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.432e-05/0.3058, allocations: 0 / 1.196 GB, free: 1.852 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3058, allocations: 4 kB / 1.196 GB, free: 1.848 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.306, allocations: 31.84 kB / 1.196 GB, free: 1.816 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.306, allocations: 8 kB / 1.196 GB, free: 1.809 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.000103/0.3061, allocations: 121.8 kB / 1.196 GB, free: 1.68 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.3062, allocations: 11.94 kB / 1.196 GB, free: 1.668 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.3062, allocations: 8 kB / 1.197 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3062, allocations: 0 / 1.197 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3062, allocations: 0 / 1.197 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3062, allocations: 0 / 1.197 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.3063, allocations: 136.7 kB / 1.197 GB, free: 1.477 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3063, allocations: 0 / 1.197 GB, free: 1.477 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-06/0.3063, allocations: 7.938 kB / 1.197 GB, free: 1.469 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3063, allocations: 0 / 1.197 GB, free: 1.469 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.3063, allocations: 0 / 1.197 GB, free: 1.469 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3063, allocations: 4 kB / 1.197 GB, free: 1.465 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3063, allocations: 0 / 1.197 GB, free: 1.465 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.3065, allocations: 88.98 kB / 1.197 GB, free: 1.359 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-06/0.3065, allocations: 0 / 1.197 GB, free: 1.359 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.3065, allocations: 0 / 1.197 GB, free: 1.359 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.3065, allocations: 4 kB / 1.197 GB, free: 1.355 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.3065, allocations: 4 kB / 1.197 GB, free: 1.352 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3065, allocations: 0 / 1.197 GB, free: 1.352 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.3066, allocations: 87.27 kB / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3066, allocations: 0 / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002108/0.3068, allocations: 23.95 kB / 1.197 GB, free: 1.242 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001323/0.3069, allocations: 95.25 kB / 1.197 GB, free: 1.141 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.3071, allocations: 115.2 kB / 1.197 GB, free: 1.016 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3071, allocations: 4 kB / 1.197 GB, free: 1.012 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.3071, allocations: 4.188 kB / 1.197 GB, free: 1.008 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.3073, allocations: 12.19 kB / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.3076, allocations: 130.1 kB / 1.197 GB, free: 0.8438 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3079, allocations: 0.6807 MB / 1.198 GB, free: 140 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.308, allocations: 3.938 kB / 1.198 GB, free: 136 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.308, allocations: 11.44 kB / 1.198 GB, free: 124 kB / 0.8263 GB Notification: Performance of SimCode: time 3.1e-07/0.308, allocations: 0 / 1.198 GB, free: 124 kB / 0.8263 GB Notification: Performance of Templates: time 0.003848/0.3118, allocations: 1.072 MB / 1.199 GB, free: 15.08 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.03900521621108] Failed to read output from testmodel.py, exit status != 0: 0.3201610893011093 0.33480545500000003 0.028660608 Calling exit ...