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.0007454/0.0007454, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008292/0.0008292, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9456/0.9456, allocations: 230.6 MB / 256 MB, free: 9.605 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.03737/0.03737, allocations: 12.19 MB / 324.6 MB, free: 6.109 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.0003199/0.0003199, allocations: 27.94 kB / 384.1 MB, free: 10.53 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.703/1.703, allocations: 353.9 MB / 0.7787 GB, free: 4.508 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.001365/0.001365, allocations: 133.6 kB / 1.06 GB, free: 24.68 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2108, allocations: 134.9 MB / 1.192 GB, free: 7.352 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001455/0.2123, allocations: 0.634 MB / 1.192 GB, free: 6.723 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.213, allocations: 0.8281 MB / 1.193 GB, free: 5.883 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.2131, allocations: 3.938 kB / 1.193 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.897e-05/0.2132, allocations: 0 / 1.193 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.336e-05/0.2133, allocations: 7.938 kB / 1.193 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.611e-05/0.2133, allocations: 11.98 kB / 1.193 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.2134, allocations: 59.77 kB / 1.193 GB, free: 5.801 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2135, allocations: 19.92 kB / 1.193 GB, free: 5.781 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.464e-05/0.2136, allocations: 27.91 kB / 1.193 GB, free: 5.754 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.2137, allocations: 27.92 kB / 1.193 GB, free: 5.727 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2137, allocations: 8 kB / 1.193 GB, free: 5.719 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.2137, allocations: 4 kB / 1.193 GB, free: 5.715 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.2137, allocations: 27.91 kB / 1.193 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.2138, allocations: 11.94 kB / 1.193 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.945e-05/0.2139, allocations: 75.7 kB / 1.193 GB, free: 5.602 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2139, allocations: 0 / 1.193 GB, free: 5.602 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2139, allocations: 3.938 kB / 1.193 GB, free: 5.598 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2139, allocations: 0 / 1.193 GB, free: 5.598 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.000414/0.2143, allocations: 314.1 kB / 1.194 GB, free: 5.258 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2143, allocations: 12.03 kB / 1.194 GB, free: 5.246 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.2144, allocations: 42.73 kB / 1.194 GB, free: 5.195 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.2144, allocations: 8.891 kB / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2145, allocations: 122.5 kB / 1.194 GB, free: 5.043 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.2145, allocations: 384 / 1.194 GB, free: 5.043 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.2145, allocations: 4.375 kB / 1.194 GB, free: 5.039 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.2147, allocations: 135.8 kB / 1.194 GB, free: 4.895 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.2147, allocations: 3.938 kB / 1.194 GB, free: 4.891 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.2148, allocations: 4 kB / 1.194 GB, free: 4.887 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2148, allocations: 8 kB / 1.194 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.2149, allocations: 123.8 kB / 1.194 GB, free: 4.758 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.2153, allocations: 399.9 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.2154, allocations: 93.06 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/0.2155, allocations: 65.72 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.2156, allocations: 0 / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.2156, allocations: 34.55 kB / 1.195 GB, free: 4.098 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2156, allocations: 4 kB / 1.195 GB, free: 4.094 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.000339/0.2159, allocations: 185.5 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.2159, allocations: 81.11 kB / 1.195 GB, free: 3.809 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.216, allocations: 129.7 kB / 1.195 GB, free: 3.672 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.216, allocations: 25.7 kB / 1.195 GB, free: 3.641 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.2161, allocations: 96.08 kB / 1.195 GB, free: 3.543 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.2161, allocations: 3.953 kB / 1.195 GB, free: 3.539 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.2161, allocations: 21.66 kB / 1.195 GB, free: 3.512 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.2162, allocations: 310.8 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.2163, allocations: 60.08 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.2163, allocations: 65.64 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2165, allocations: 105.6 kB / 1.196 GB, free: 2.961 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2165, allocations: 4.062 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001836/0.2167, allocations: 141.5 kB / 1.196 GB, free: 2.812 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2167, allocations: 4 kB / 1.196 GB, free: 2.809 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2167, allocations: 0 / 1.196 GB, free: 2.809 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2167, allocations: 4 kB / 1.196 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.2168, allocations: 20.41 kB / 1.196 GB, free: 2.785 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2168, allocations: 4 kB / 1.196 GB, free: 2.781 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.2168, allocations: 19.91 kB / 1.196 GB, free: 2.762 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.2168, allocations: 3.984 kB / 1.196 GB, free: 2.758 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 5.986e-05/0.2169, allocations: 129.7 kB / 1.196 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.2169, allocations: 7.938 kB / 1.196 GB, free: 2.613 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.2169, allocations: 11.47 kB / 1.196 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2169, allocations: 0 / 1.196 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2169, allocations: 0 / 1.196 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.217, allocations: 3.938 kB / 1.196 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.2171, allocations: 152.7 kB / 1.196 GB, free: 2.402 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2171, allocations: 0 / 1.196 GB, free: 2.402 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.2171, allocations: 19.97 kB / 1.196 GB, free: 2.383 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2171, allocations: 0 / 1.196 GB, free: 2.383 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2171, allocations: 4 kB / 1.196 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.2171, allocations: 0 / 1.196 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2171, allocations: 0 / 1.196 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.2174, allocations: 310.6 kB / 1.197 GB, free: 2.059 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.2174, allocations: 4 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.2174, allocations: 3.984 kB / 1.197 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.2175, allocations: 19.92 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.2175, allocations: 11.92 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2175, allocations: 0 / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.2175, allocations: 95.27 kB / 1.197 GB, free: 1.926 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2175, allocations: 0 / 1.197 GB, free: 1.926 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001702/0.2177, allocations: 11.95 kB / 1.197 GB, free: 1.914 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.0004102/0.2181, allocations: 0.8406 MB / 1.197 GB, free: 1.047 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.2183, allocations: 115.8 kB / 1.198 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.2183, allocations: 0 / 1.198 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.93e-05/0.2184, allocations: 59.91 kB / 1.198 GB, free: 0.875 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.2187, allocations: 17.03 kB / 1.198 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.2199, allocations: 1.584 MB / 1.199 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.504e-05/0.2199, allocations: 87.5 kB / 1.199 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.22, allocations: 16.02 kB / 1.199 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.22, allocations: 19.44 kB / 1.199 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of SimCode: time 4.71e-07/0.22, allocations: 0 / 1.199 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.2335, allocations: 2.433 MB / 1.202 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.506/6.739, allocations: 11.81 kB / 1.202 GB, free: 12.75 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.089702491648495] Failed to read output from testmodel.py, exit status != 0: 6.817947684787214 6.827267431 6.611439751 Calling exit ...