Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.000798/0.000798, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0007559/0.0007559, allocations: 165.7 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8321/0.8321, allocations: 177.1 MB / 203.6 MB, free: 5.746 MB / 186.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.03417/0.03417, allocations: 9.119 MB / 269.2 MB, free: 4.469 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.000382/0.000382, allocations: 23.95 kB / 328.7 MB, free: 20.62 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.484/1.484, allocations: 275 MB / 0.6476 GB, free: 2.504 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.9294 GB, free: 8.16 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.607e-05, allocations: 5.234 kB / 0.9295 GB, free: 8.156 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001133/0.001149, allocations: 0.648 MB / 0.9301 GB, free: 7.527 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007132/0.001862, allocations: 0.8223 MB / 0.9309 GB, free: 6.695 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.001902, allocations: 0 / 0.9309 GB, free: 6.695 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.265e-05/0.001985, allocations: 3.938 kB / 0.9309 GB, free: 6.691 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.636e-05/0.002061, allocations: 7.938 kB / 0.9309 GB, free: 6.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.911e-05/0.00211, allocations: 8.547 kB / 0.9309 GB, free: 6.676 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.002263, allocations: 63.83 kB / 0.931 GB, free: 6.613 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.002363, allocations: 13.08 kB / 0.931 GB, free: 6.602 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.002431, allocations: 31.92 kB / 0.931 GB, free: 6.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.0025, allocations: 36.61 kB / 0.931 GB, free: 6.535 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.002516, allocations: 4 kB / 0.9311 GB, free: 6.531 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.002524, allocations: 4.531 kB / 0.9311 GB, free: 6.527 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.002563, allocations: 19.92 kB / 0.9311 GB, free: 6.508 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.00259, allocations: 14.48 kB / 0.9311 GB, free: 6.496 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.002682, allocations: 75.77 kB / 0.9312 GB, free: 6.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002683, allocations: 0 / 0.9312 GB, free: 6.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002684, allocations: 0 / 0.9312 GB, free: 6.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.002687, allocations: 0 / 0.9312 GB, free: 6.422 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003605/0.003048, allocations: 310.6 kB / 0.9315 GB, free: 6.086 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.00308, allocations: 12.55 kB / 0.9315 GB, free: 6.074 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.003104, allocations: 8.891 kB / 0.9315 GB, free: 6.066 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.003218, allocations: 138.2 kB / 0.9316 GB, free: 5.906 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.003228, allocations: 384 / 0.9316 GB, free: 5.906 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.003241, allocations: 9.562 kB / 0.9316 GB, free: 5.898 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.003453, allocations: 139.2 kB / 0.9318 GB, free: 5.754 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.003458, allocations: 192 / 0.9318 GB, free: 5.754 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.003467, allocations: 384 / 0.9318 GB, free: 5.754 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003472, allocations: 4.375 kB / 0.9318 GB, free: 5.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.00366, allocations: 131.7 kB / 0.9319 GB, free: 5.621 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.003999, allocations: 363 kB / 0.9322 GB, free: 5.234 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.004114, allocations: 93.08 kB / 0.9323 GB, free: 5.125 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.004206, allocations: 68.23 kB / 0.9324 GB, free: 5.055 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.004215, allocations: 3.938 kB / 0.9324 GB, free: 5.051 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.004233, allocations: 34.56 kB / 0.9324 GB, free: 5.008 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.004233, allocations: 0 / 0.9324 GB, free: 5.008 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000355/0.004588, allocations: 192 kB / 0.9326 GB, free: 4.816 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.004743, allocations: 77.11 kB / 0.9327 GB, free: 4.723 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.004809, allocations: 118.8 kB / 0.9328 GB, free: 4.598 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.004818, allocations: 25.7 kB / 0.9328 GB, free: 4.566 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.004856, allocations: 100.7 kB / 0.9329 GB, free: 4.465 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.004871, allocations: 3.953 kB / 0.9329 GB, free: 4.461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.004893, allocations: 17.19 kB / 0.9329 GB, free: 4.441 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.004962, allocations: 322.8 kB / 0.9332 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.005047, allocations: 47.94 kB / 0.9333 GB, free: 4.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.005135, allocations: 65.64 kB / 0.9333 GB, free: 4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.005299, allocations: 109.2 kB / 0.9334 GB, free: 3.891 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.005301, allocations: 3.938 kB / 0.9335 GB, free: 3.887 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001902/0.005491, allocations: 138.3 kB / 0.9336 GB, free: 3.746 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.005504, allocations: 11.98 kB / 0.9336 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005508, allocations: 384 / 0.9336 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.005517, allocations: 7.938 kB / 0.9336 GB, free: 3.727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.005589, allocations: 15.98 kB / 0.9336 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.005595, allocations: 0 / 0.9336 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.005636, allocations: 16.34 kB / 0.9336 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.005642, allocations: 7.984 kB / 0.9336 GB, free: 3.688 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.83e-05/0.0057, allocations: 129.7 kB / 0.9338 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.005724, allocations: 3.953 kB / 0.9338 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.005741, allocations: 15.41 kB / 0.9338 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005743, allocations: 0 / 0.9338 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.005744, allocations: 7.984 kB / 0.9338 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-06/0.005751, allocations: 7.984 kB / 0.9338 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.00576, allocations: 0 / 0.9338 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.00584, allocations: 11.98 kB / 0.9338 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.005878, allocations: 11.92 kB / 0.9338 GB, free: 3.496 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002531/0.006132, allocations: 308.1 kB / 0.9341 GB, free: 3.188 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003175/0.006449, allocations: 381.9 kB / 0.9345 GB, free: 2.797 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001036/0.006553, allocations: 67.86 kB / 0.9345 GB, free: 2.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.006588, allocations: 91.27 kB / 0.9346 GB, free: 2.641 MB / 0.698 GB Notification: Performance of Backend: time 5.41e-07/0.006589, allocations: 4.062 kB / 0.9346 GB, free: 2.637 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.006918, allocations: 130.3 kB / 0.9348 GB, free: 2.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003905/0.007309, allocations: 0.612 MB / 0.9354 GB, free: 1.84 MB / 0.698 GB Notification: Performance of Templates: time 0.002102/0.00941, allocations: 1.085 MB / 0.9364 GB, free: 0.7734 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4992890590801835] Failed to read output from testmodel.py, exit status != 0: 0.013783098198473454 0.022233338000000002 0.017901425000000002 Calling exit ...