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.0009151/0.0009151, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009964/0.0009964, allocations: 209.2 kB / 22.25 MB, free: 3.586 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.9771/0.9771, allocations: 230.6 MB / 256 MB, free: 9.652 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.0375/0.0375, allocations: 12.18 MB / 324.6 MB, free: 6.199 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.0004676/0.0004676, allocations: 27.95 kB / 384.1 MB, free: 10.62 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.748/1.748, allocations: 353.8 MB / 0.7787 GB, free: 4.582 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.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.001397/0.001397, allocations: 127.4 kB / 1.06 GB, free: 24.73 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2238, allocations: 134.9 MB / 1.192 GB, free: 7.547 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001448/0.2253, allocations: 0.6564 MB / 1.192 GB, free: 6.895 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007055/0.226, allocations: 0.8592 MB / 1.193 GB, free: 6.023 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.226, allocations: 0 / 1.193 GB, free: 6.023 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.825e-05/0.2261, allocations: 7.922 kB / 1.193 GB, free: 6.016 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.768e-05/0.2262, allocations: 4 kB / 1.193 GB, free: 6.012 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.2263, allocations: 23.92 kB / 1.193 GB, free: 5.988 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2264, allocations: 71.81 kB / 1.193 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2266, allocations: 23.92 kB / 1.193 GB, free: 5.895 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.056e-05/0.2266, allocations: 43.84 kB / 1.193 GB, free: 5.852 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.2267, allocations: 43.89 kB / 1.193 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2268, allocations: 4 kB / 1.193 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.2268, allocations: 7.938 kB / 1.193 GB, free: 5.797 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.2268, allocations: 27.97 kB / 1.193 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.2269, allocations: 27.86 kB / 1.193 GB, free: 5.742 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.227, allocations: 91.62 kB / 1.194 GB, free: 5.652 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.227, allocations: 0 / 1.194 GB, free: 5.652 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.227, allocations: 0 / 1.194 GB, free: 5.652 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.227, allocations: 0 / 1.194 GB, free: 5.652 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.0004455/0.2274, allocations: 326.1 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2275, allocations: 11.97 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.2275, allocations: 38.75 kB / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.2275, allocations: 12.88 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2277, allocations: 134.4 kB / 1.194 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.2277, allocations: 4.375 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.2277, allocations: 8.375 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.2279, allocations: 158.1 kB / 1.194 GB, free: 4.898 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2279, allocations: 7.938 kB / 1.194 GB, free: 4.891 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2279, allocations: 8 kB / 1.194 GB, free: 4.883 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2279, allocations: 0 / 1.194 GB, free: 4.883 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.2282, allocations: 147.8 kB / 1.194 GB, free: 4.738 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.2285, allocations: 403.8 kB / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.2287, allocations: 125 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2288, allocations: 77.7 kB / 1.195 GB, free: 4.074 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2288, allocations: 3.938 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2289, allocations: 34.56 kB / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2289, allocations: 0 / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0003965/0.2293, allocations: 233.3 kB / 1.195 GB, free: 3.793 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2293, allocations: 77.11 kB / 1.195 GB, free: 3.699 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.2294, allocations: 129.8 kB / 1.195 GB, free: 3.562 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2294, allocations: 29.7 kB / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.2294, allocations: 96.05 kB / 1.195 GB, free: 3.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.2294, allocations: 9.406 kB / 1.195 GB, free: 3.422 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.2295, allocations: 21.97 kB / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.709e-05/0.2295, allocations: 330.8 kB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.2296, allocations: 59.92 kB / 1.196 GB, free: 3.004 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2298, allocations: 77.62 kB / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.2299, allocations: 129.6 kB / 1.196 GB, free: 2.789 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2299, allocations: 0 / 1.196 GB, free: 2.789 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000222/0.2302, allocations: 165.4 kB / 1.196 GB, free: 2.621 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2302, allocations: 4 kB / 1.196 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2302, allocations: 4 kB / 1.196 GB, free: 2.613 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2302, allocations: 4.062 kB / 1.196 GB, free: 2.609 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.2303, allocations: 23.91 kB / 1.196 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2303, allocations: 7.938 kB / 1.196 GB, free: 2.578 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.2303, allocations: 15.97 kB / 1.196 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.2303, allocations: 0 / 1.196 GB, free: 2.562 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: 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.089e-05/0.2304, allocations: 125.8 kB / 1.196 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.2304, allocations: 7.953 kB / 1.196 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.2305, allocations: 7.625 kB / 1.196 GB, free: 2.41 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2305, allocations: 8 kB / 1.196 GB, free: 2.402 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2305, allocations: 7.875 kB / 1.196 GB, free: 2.395 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2305, allocations: 3.984 kB / 1.196 GB, free: 2.391 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2306, allocations: 164.8 kB / 1.197 GB, free: 2.188 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.2306, allocations: 384 / 1.197 GB, free: 2.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.2307, allocations: 19.97 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2307, allocations: 4 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2307, allocations: 7.984 kB / 1.197 GB, free: 2.156 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.2307, allocations: 3.938 kB / 1.197 GB, free: 2.152 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2307, allocations: 3.938 kB / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.231, allocations: 334.8 kB / 1.197 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.231, allocations: 7.953 kB / 1.197 GB, free: 1.797 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.231, allocations: 4 kB / 1.197 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.2311, allocations: 15.97 kB / 1.197 GB, free: 1.777 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.2311, allocations: 27.84 kB / 1.197 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2311, allocations: 4 kB / 1.197 GB, free: 1.746 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.2312, allocations: 95.27 kB / 1.197 GB, free: 1.652 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2312, allocations: 0 / 1.197 GB, free: 1.652 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001691/0.2313, allocations: 16 kB / 1.197 GB, free: 1.637 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: 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.0006953/0.232, allocations: 0.864 MB / 1.198 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.2323, allocations: 139.8 kB / 1.198 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2323, allocations: 0 / 1.198 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.2324, allocations: 91.83 kB / 1.198 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2326, allocations: 17.66 kB / 1.198 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.234, allocations: 1.688 MB / 1.2 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/0.234, allocations: 95.06 kB / 1.2 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.272e-05/0.2341, allocations: 16.23 kB / 1.2 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.2341, allocations: 27.36 kB / 1.2 GB, free: 14.57 MB / 0.8387 GB Notification: Performance of SimCode: time 4.71e-07/0.2341, allocations: 0 / 1.2 GB, free: 14.57 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.2483, allocations: 2.994 MB / 1.203 GB, free: 11.73 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.432/6.681, allocations: 6.062 kB / 1.203 GB, free: 11.72 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: 11.14433370810002] Failed to read output from testmodel.py, exit status != 0: 6.759601168334484 6.770471586 6.541795861 Calling exit ...