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.0008701/0.0008701, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0008633/0.0008633, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.965/0.965, allocations: 230.6 MB / 256 MB, free: 9.828 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.0386/0.0386, allocations: 12.18 MB / 324.6 MB, free: 6.309 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.000416/0.000416, allocations: 27.94 kB / 384.1 MB, free: 10.72 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.745/1.745, allocations: 353.8 MB / 0.7787 GB, free: 3.164 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: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [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.001488/0.001488, allocations: 132.1 kB / 1.06 GB, free: 24.98 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2368, allocations: 134.9 MB / 1.192 GB, free: 7.938 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001578/0.2384, allocations: 0.6321 MB / 1.192 GB, free: 7.309 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008208/0.2392, allocations: 0.8358 MB / 1.193 GB, free: 6.461 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.2393, allocations: 0 / 1.193 GB, free: 6.461 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.962e-05/0.2394, allocations: 3.938 kB / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.2394, allocations: 7.938 kB / 1.193 GB, free: 6.449 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.415e-05/0.2395, allocations: 7.984 kB / 1.193 GB, free: 6.441 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2396, allocations: 59.89 kB / 1.193 GB, free: 6.383 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.2398, allocations: 15.92 kB / 1.193 GB, free: 6.367 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.2399, allocations: 31.86 kB / 1.193 GB, free: 6.336 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.2399, allocations: 27.91 kB / 1.193 GB, free: 6.309 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2399, allocations: 4 kB / 1.193 GB, free: 6.305 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.24, allocations: 7.938 kB / 1.193 GB, free: 6.297 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.24, allocations: 27.91 kB / 1.193 GB, free: 6.27 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.24, allocations: 19.88 kB / 1.193 GB, free: 6.25 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.2402, allocations: 71.77 kB / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2402, allocations: 0 / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2402, allocations: 4 kB / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2402, allocations: 3.938 kB / 1.193 GB, free: 6.172 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004252/0.2406, allocations: 314.1 kB / 1.194 GB, free: 5.832 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2407, allocations: 8.031 kB / 1.194 GB, free: 5.824 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.2407, allocations: 38.73 kB / 1.194 GB, free: 5.777 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.005e-05/0.2407, allocations: 12.83 kB / 1.194 GB, free: 5.766 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2409, allocations: 122.5 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.2409, allocations: 8.375 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.2409, allocations: 8.375 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.2411, allocations: 127.8 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2411, allocations: 3.938 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2411, allocations: 4 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2411, allocations: 0 / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2413, allocations: 127.8 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.242, allocations: 411.9 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.2421, allocations: 93.09 kB / 1.195 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.842e-05/0.2422, allocations: 65.7 kB / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.2422, allocations: 0 / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.2422, allocations: 30.56 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2422, allocations: 4 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0003814/0.2426, allocations: 189.4 kB / 1.195 GB, free: 4.473 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.2426, allocations: 81.11 kB / 1.195 GB, free: 4.375 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.2427, allocations: 130 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.2427, allocations: 29.7 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.2428, allocations: 88.09 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.2428, allocations: 11.95 kB / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.2428, allocations: 13.7 kB / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.2429, allocations: 318.8 kB / 1.196 GB, free: 3.762 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.243, allocations: 55.92 kB / 1.196 GB, free: 3.707 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.2431, allocations: 65.59 kB / 1.196 GB, free: 3.637 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.2432, allocations: 105.6 kB / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2432, allocations: 4.062 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002055/0.2434, allocations: 141.5 kB / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.2435, allocations: 8 kB / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2435, allocations: 0 / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2435, allocations: 0 / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.2436, allocations: 24.03 kB / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2436, allocations: 0 / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.2436, allocations: 15.92 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2436, allocations: 4 kB / 1.196 GB, free: 3.328 MB / 0.823 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 6.473e-05/0.2437, allocations: 126.9 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.2437, allocations: 3.984 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.2437, allocations: 11.47 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2437, allocations: 0 / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2437, allocations: 4 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2437, allocations: 3.938 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.2439, allocations: 152.7 kB / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2439, allocations: 0 / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.2439, allocations: 19.97 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2439, allocations: 0 / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2439, allocations: 0 / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2439, allocations: 3.938 kB / 1.196 GB, free: 2.953 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2439, allocations: 0 / 1.196 GB, free: 2.953 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.2442, allocations: 314.6 kB / 1.197 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.2442, allocations: 4 kB / 1.197 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.2442, allocations: 0 / 1.197 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.2443, allocations: 15.97 kB / 1.197 GB, free: 2.609 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.2443, allocations: 15.95 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2443, allocations: 0 / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.2444, allocations: 103.6 kB / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2444, allocations: 0 / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001662/0.2445, allocations: 11.95 kB / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0004234/0.245, allocations: 0.8327 MB / 1.198 GB, free: 1.621 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2452, allocations: 119.8 kB / 1.198 GB, free: 1.504 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.2452, allocations: 0 / 1.198 GB, free: 1.504 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2453, allocations: 63.92 kB / 1.198 GB, free: 1.441 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2456, allocations: 17.64 kB / 1.198 GB, free: 1.426 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2469, allocations: 1.6 MB / 1.199 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.247, allocations: 0.6963 MB / 1.2 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.2471, allocations: 11.98 kB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/0.2472, allocations: 19.44 kB / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of SimCode: time 3.757e-06/0.2472, allocations: 0 / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.2657, allocations: 1.99 MB / 1.202 GB, free: 13.13 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.404/6.67, allocations: 0 / 1.202 GB, free: 13.13 MB / 0.8387 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.126336297020316] Failed to read output from testmodel.py, exit status != 0: 6.7430855901911855 6.75195734 6.509911129 Calling exit ...