Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.0008137/0.0008137, allocations: 109.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.001047/0.001047, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9845/0.9845, allocations: 230.6 MB / 256 MB, free: 3.441 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.04012/0.04012, allocations: 12.2 MB / 324.6 MB, free: 3.441 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.0003547/0.0003547, allocations: 30.17 kB / 384.1 MB, free: 45.75 MB / 298.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.695/1.695, allocations: 353.8 MB / 0.7787 GB, free: 13.06 MB / 0.5262 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.IntegerVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.001471/0.001471, allocations: 112.8 kB / 1.06 GB, free: 9.938 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2301, allocations: 134.9 MB / 1.192 GB, free: 3.105 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001444/0.2315, allocations: 0.657 MB / 1.192 GB, free: 2.457 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.2324, allocations: 0.8731 MB / 1.193 GB, free: 1.574 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.2324, allocations: 0 / 1.193 GB, free: 1.574 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.135e-05/0.2325, allocations: 11.92 kB / 1.193 GB, free: 1.562 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.2326, allocations: 3.938 kB / 1.193 GB, free: 1.559 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.2327, allocations: 19.92 kB / 1.193 GB, free: 1.539 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2328, allocations: 71.88 kB / 1.193 GB, free: 1.469 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2329, allocations: 19.92 kB / 1.193 GB, free: 1.449 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.233, allocations: 43.91 kB / 1.193 GB, free: 1.406 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.2331, allocations: 43.83 kB / 1.193 GB, free: 1.363 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2331, allocations: 11.94 kB / 1.193 GB, free: 1.352 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.2331, allocations: 4 kB / 1.193 GB, free: 1.348 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2332, allocations: 31.91 kB / 1.193 GB, free: 1.316 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.2333, allocations: 35.8 kB / 1.194 GB, free: 1.281 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2334, allocations: 83.95 kB / 1.194 GB, free: 1.199 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2334, allocations: 4 kB / 1.194 GB, free: 1.195 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2334, allocations: 0 / 1.194 GB, free: 1.195 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2334, allocations: 0 / 1.194 GB, free: 1.195 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005195/0.2339, allocations: 320 kB / 1.194 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.234, allocations: 19.92 kB / 1.194 GB, free: 0.832 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.234, allocations: 38.73 kB / 1.194 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.234, allocations: 12.89 kB / 1.194 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2342, allocations: 138.4 kB / 1.194 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2342, allocations: 8.375 kB / 1.194 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2342, allocations: 4.375 kB / 1.194 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.2344, allocations: 167.8 kB / 1.194 GB, free: 436 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2344, allocations: 7.922 kB / 1.194 GB, free: 428 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.2344, allocations: 0 / 1.194 GB, free: 428 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2345, allocations: 0 / 1.194 GB, free: 428 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.2347, allocations: 155.8 kB / 1.194 GB, free: 272 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.2352, allocations: 415.8 kB / 1.195 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.2353, allocations: 109.1 kB / 1.195 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2354, allocations: 77.7 kB / 1.195 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.2354, allocations: 7.938 kB / 1.195 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.2355, allocations: 34.55 kB / 1.195 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2355, allocations: 0 / 1.195 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of matching and sorting (n=4): time 0.0003918/0.2359, allocations: 229.5 kB / 1.195 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.2359, allocations: 81.09 kB / 1.195 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.236, allocations: 125.7 kB / 1.195 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.236, allocations: 29.7 kB / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.236, allocations: 108.1 kB / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.236, allocations: 7.938 kB / 1.196 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.2361, allocations: 29.86 kB / 1.196 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.2361, allocations: 314.8 kB / 1.196 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.2362, allocations: 67.91 kB / 1.196 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.2364, allocations: 73.64 kB / 1.196 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.2366, allocations: 129.5 kB / 1.196 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2366, allocations: 0 / 1.196 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002203/0.2368, allocations: 169.5 kB / 1.196 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2368, allocations: 7.938 kB / 1.196 GB, free: 14.13 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2368, allocations: 0 / 1.196 GB, free: 14.13 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.2368, allocations: 0 / 1.196 GB, free: 14.13 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2369, allocations: 23.97 kB / 1.196 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2369, allocations: 3.938 kB / 1.196 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.237, allocations: 15.97 kB / 1.196 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.237, allocations: 4 kB / 1.196 GB, free: 14.09 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.073e-05/0.2371, allocations: 130.8 kB / 1.197 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2371, allocations: 7.938 kB / 1.197 GB, free: 13.94 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.2371, allocations: 11.62 kB / 1.197 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2371, allocations: 0 / 1.197 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2371, allocations: 3.938 kB / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2371, allocations: 0 / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.2373, allocations: 172.6 kB / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2373, allocations: 0 / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.2374, allocations: 27.97 kB / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.2374, allocations: 0 / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2374, allocations: 0 / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2374, allocations: 4 kB / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.2374, allocations: 15.86 kB / 1.197 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.2377, allocations: 326.7 kB / 1.197 GB, free: 13.33 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.2377, allocations: 11.94 kB / 1.197 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2377, allocations: 0 / 1.197 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.2378, allocations: 15.92 kB / 1.197 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.2378, allocations: 31.89 kB / 1.197 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2378, allocations: 4 kB / 1.197 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.2379, allocations: 95.58 kB / 1.197 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2379, allocations: 4 kB / 1.197 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001816/0.2381, allocations: 12 kB / 1.197 GB, free: 13.16 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004602/0.2385, allocations: 0.8718 MB / 1.198 GB, free: 12.26 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.2388, allocations: 139.8 kB / 1.198 GB, free: 12.12 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2388, allocations: 4 kB / 1.198 GB, free: 12.12 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2389, allocations: 84.08 kB / 1.198 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2392, allocations: 16.48 kB / 1.198 GB, free: 12.02 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.2406, allocations: 1.694 MB / 1.2 GB, free: 10.24 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.2408, allocations: 0.7002 MB / 1.201 GB, free: 9.512 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.032e-05/0.2409, allocations: 19.98 kB / 1.201 GB, free: 9.492 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.241, allocations: 27.42 kB / 1.201 GB, free: 9.465 MB / 0.8387 GB Notification: Performance of SimCode: time 3.7e-07/0.241, allocations: 0 / 1.201 GB, free: 9.465 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.2581, allocations: 2.536 MB / 1.203 GB, free: 7.07 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.209/6.467, allocations: 8.766 kB / 1.203 GB, free: 7.066 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.85193882510066] Failed to read output from testmodel.py, exit status != 0: 6.545402340590954 6.553830847 6.318685511 Calling exit ...