Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001799/0.001799, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001685/0.001685, allocations: 204.2 kB / 22.99 MB, free: 4.605 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9959/0.9959, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002937/0.002937, allocations: 70.92 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2203, allocations: 89.17 MB / 0.7282 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002571/0.2229, allocations: 0.6331 MB / 0.7288 GB, free: 412 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2244, allocations: 0.816 MB / 0.7296 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.2244, allocations: 3.938 kB / 0.7296 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.2246, allocations: 0 / 0.7296 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.2247, allocations: 15.92 kB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 8.759e-05/0.2248, allocations: 7.984 kB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.2249, allocations: 55.84 kB / 0.7296 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2251, allocations: 19.91 kB / 0.7297 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.2252, allocations: 31.92 kB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2253, allocations: 31.84 kB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.2254, allocations: 4 kB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.2254, allocations: 4 kB / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.2255, allocations: 23.97 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.2255, allocations: 23.86 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.2257, allocations: 59.8 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.2257, allocations: 7.938 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.504e-06/0.2257, allocations: 0 / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2257, allocations: 0 / 0.7298 GB, free: 15.29 MB / 0.5606 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.0007693/0.2265, allocations: 314.1 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.2265, allocations: 16.02 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.2266, allocations: 34.75 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.2266, allocations: 8.891 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.2268, allocations: 130.4 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2269, allocations: 4.375 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.2269, allocations: 4.375 kB / 0.7303 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.2273, allocations: 131.8 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2273, allocations: 15.88 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.2273, allocations: 4 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2273, allocations: 0 / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.2277, allocations: 127.8 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007776/0.2285, allocations: 396 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.2287, allocations: 97.08 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.2289, allocations: 61.7 kB / 0.7311 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2289, allocations: 0 / 0.7311 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.229, allocations: 34.56 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.229, allocations: 0 / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000681/0.2297, allocations: 193.4 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.2297, allocations: 81.09 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.2299, allocations: 121.8 kB / 0.7315 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.2299, allocations: 29.64 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.23, allocations: 96.08 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.23, allocations: 7.953 kB / 0.7317 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.23, allocations: 13.97 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2302, allocations: 322.8 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.2304, allocations: 51.92 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.2306, allocations: 61.64 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.2309, allocations: 109.7 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.2309, allocations: 4 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003965/0.2313, allocations: 129.9 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2314, allocations: 8 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2314, allocations: 0 / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2314, allocations: 4.062 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2315, allocations: 23.91 kB / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2315, allocations: 0 / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/0.2316, allocations: 19.91 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.2316, allocations: 4 kB / 0.7324 GB, free: 12.45 MB / 0.5606 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 0.0001333/0.2318, allocations: 125.8 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.2318, allocations: 7.938 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.2319, allocations: 11.47 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2319, allocations: 4 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2319, allocations: 7.875 kB / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.2319, allocations: 7.938 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.2321, allocations: 144.7 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2322, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2323, allocations: 19.97 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2323, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2323, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2323, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2323, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.2328, allocations: 314.6 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.2328, allocations: 11.94 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.2328, allocations: 4 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.233, allocations: 15.98 kB / 0.733 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.233, allocations: 15.86 kB / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.233, allocations: 0 / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.689e-05/0.2331, allocations: 99.3 kB / 0.7331 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2331, allocations: 0 / 0.7331 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002621/0.2334, allocations: 12 kB / 0.7332 GB, free: 11.59 MB / 0.5606 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.0008951/0.2343, allocations: 0.8288 MB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.2347, allocations: 119.8 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2347, allocations: 0 / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.2349, allocations: 63.92 kB / 0.7341 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.2352, allocations: 10.56 kB / 0.7341 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.2375, allocations: 1.604 MB / 0.7357 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.2376, allocations: 79.36 kB / 0.7358 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.977e-05/0.2377, allocations: 15.98 kB / 0.7358 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.2377, allocations: 15.44 kB / 0.7358 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2377, allocations: 0 / 0.7358 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.27, allocations: 2.427 MB / 0.7382 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.35, allocations: 5.875 kB / 0.7382 GB, free: 6.449 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.260082578286529] Failed to read output from testmodel.py, exit status != 0: 11.456409479025751 11.472118725 11.243091054 Calling exit ...