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.0009588/0.0009588, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0009194/0.0009194, allocations: 211.2 kB / 23 MB, free: 2.977 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.9255/0.9255, allocations: 230.6 MB / 256.8 MB, free: 9.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.03581/0.03581, allocations: 12.19 MB / 325.4 MB, free: 6.062 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.000521/0.000521, allocations: 27.89 kB / 384.8 MB, free: 10.48 MB / 314.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.773/1.773, allocations: 353.8 MB / 0.7794 GB, free: 4.531 MB / 0.5105 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.001469/0.001469, allocations: 117.7 kB / 1.061 GB, free: 24.49 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2777, allocations: 134.9 MB / 1.193 GB, free: 7.004 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001925/0.2796, allocations: 0.627 MB / 1.194 GB, free: 6.379 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007635/0.2804, allocations: 0.8203 MB / 1.194 GB, free: 5.547 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.2804, allocations: 0 / 1.194 GB, free: 5.547 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.2806, allocations: 11.92 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.116e-05/0.2806, allocations: 0 / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.2807, allocations: 8 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.976e-05/0.2808, allocations: 23.86 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2809, allocations: 15.97 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.281, allocations: 4 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.281, allocations: 11.92 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.2811, allocations: 4 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.2811, allocations: 7.938 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.2811, allocations: 4 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.2812, allocations: 15.92 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.951e-05/0.2813, allocations: 31.84 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2813, allocations: 0 / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2813, allocations: 0 / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2813, allocations: 0 / 1.194 GB, free: 5.41 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.0004164/0.2817, allocations: 266.3 kB / 1.195 GB, free: 5.117 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2817, allocations: 8.031 kB / 1.195 GB, free: 5.109 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.2818, allocations: 4.938 kB / 1.195 GB, free: 5.105 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2819, allocations: 122.4 kB / 1.195 GB, free: 4.961 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2819, allocations: 384 / 1.195 GB, free: 4.961 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2819, allocations: 4.359 kB / 1.195 GB, free: 4.957 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2821, allocations: 62.23 kB / 1.195 GB, free: 4.891 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2821, allocations: 4.125 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2821, allocations: 3.938 kB / 1.195 GB, free: 4.883 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2821, allocations: 3.938 kB / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.2822, allocations: 35.95 kB / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.2825, allocations: 212.6 kB / 1.195 GB, free: 4.605 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.2825, allocations: 42.5 kB / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.2826, allocations: 24.89 kB / 1.195 GB, free: 4.527 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2826, allocations: 0 / 1.195 GB, free: 4.527 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.2826, allocations: 34.56 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.2826, allocations: 0 / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002122/0.2828, allocations: 69.66 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.2829, allocations: 59.52 kB / 1.195 GB, free: 4.34 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.2829, allocations: 97.86 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.2829, allocations: 29.7 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.283, allocations: 92.08 kB / 1.196 GB, free: 4.105 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.283, allocations: 0 / 1.196 GB, free: 4.105 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.283, allocations: 17.66 kB / 1.196 GB, free: 4.082 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.2831, allocations: 314.8 kB / 1.196 GB, free: 3.766 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.2831, allocations: 15.98 kB / 1.196 GB, free: 3.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.2832, allocations: 11.98 kB / 1.196 GB, free: 3.738 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.2832, allocations: 44.88 kB / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2833, allocations: 3.938 kB / 1.196 GB, free: 3.688 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001026/0.2834, allocations: 65.86 kB / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2834, allocations: 5.562 kB / 1.196 GB, free: 3.613 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2834, allocations: 0 / 1.196 GB, free: 3.613 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2834, allocations: 4 kB / 1.196 GB, free: 3.609 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.2835, allocations: 12.03 kB / 1.196 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2835, allocations: 0 / 1.196 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.2835, allocations: 11.92 kB / 1.196 GB, free: 3.586 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.2835, allocations: 0 / 1.196 GB, free: 3.586 MB / 0.823 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 6.145e-05/0.2835, allocations: 113.8 kB / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.2836, allocations: 0 / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.2836, allocations: 11.14 kB / 1.196 GB, free: 3.453 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2836, allocations: 0 / 1.196 GB, free: 3.453 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2836, allocations: 0 / 1.196 GB, free: 3.453 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2836, allocations: 3.938 kB / 1.196 GB, free: 3.449 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.773e-05/0.2837, allocations: 117.2 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.2837, allocations: 0 / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.2837, allocations: 4 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2837, allocations: 0 / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.2837, allocations: 0 / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.2837, allocations: 0 / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2837, allocations: 3.984 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.2838, allocations: 155.5 kB / 1.196 GB, free: 3.129 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.2838, allocations: 7.969 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.2838, allocations: 7.984 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.2839, allocations: 0 / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.2839, allocations: 7.938 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2839, allocations: 3.984 kB / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.876e-05/0.2839, allocations: 83.28 kB / 1.197 GB, free: 3.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2839, allocations: 0 / 1.197 GB, free: 3.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000137/0.2841, allocations: 7.953 kB / 1.197 GB, free: 3.012 MB / 0.823 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 9.529e-05/0.2842, allocations: 91.25 kB / 1.197 GB, free: 2.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.2843, allocations: 39.95 kB / 1.197 GB, free: 2.871 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2843, allocations: 0 / 1.197 GB, free: 2.871 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.2844, allocations: 19.98 kB / 1.197 GB, free: 2.852 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2846, allocations: 7.875 kB / 1.197 GB, free: 2.844 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.2848, allocations: 143.2 kB / 1.197 GB, free: 2.672 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.935e-05/0.2849, allocations: 67.47 kB / 1.197 GB, free: 2.586 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.2849, allocations: 7.438 kB / 1.197 GB, free: 2.578 MB / 0.823 GB Notification: Performance of SimCode: time 4.21e-07/0.2849, allocations: 0 / 1.197 GB, free: 2.578 MB / 0.823 GB Notification: Performance of Templates: time 0.001581/0.2865, allocations: 0.5899 MB / 1.197 GB, free: 1.992 MB / 0.823 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: 7.979927510023117] Failed to read output from testmodel.py, exit status != 0: 0.2928449511528015 0.30185412699999997 0.018816154 Calling exit ...