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.0006259/0.0006259, 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.0007863/0.0007863, allocations: 217.7 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.9748/0.9748, allocations: 230.6 MB / 256 MB, free: 9.793 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.03879/0.03879, allocations: 12.18 MB / 324.6 MB, free: 6.273 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.0004472/0.0004472, allocations: 31.27 kB / 384.1 MB, free: 10.68 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.783/1.783, allocations: 353.8 MB / 0.7787 GB, free: 3.082 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.002284/0.002284, allocations: 120.2 kB / 1.06 GB, free: 25 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2772, allocations: 134.9 MB / 1.192 GB, free: 7.844 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001588/0.2788, allocations: 0.6587 MB / 1.192 GB, free: 7.191 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000818/0.2796, allocations: 0.8709 MB / 1.193 GB, free: 6.309 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.2797, allocations: 0 / 1.193 GB, free: 6.309 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2798, allocations: 7.922 kB / 1.193 GB, free: 6.301 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.2799, allocations: 3.938 kB / 1.193 GB, free: 6.297 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.28, allocations: 27.92 kB / 1.193 GB, free: 6.27 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.2802, allocations: 67.88 kB / 1.193 GB, free: 6.203 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.2803, allocations: 27.86 kB / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.2804, allocations: 39.84 kB / 1.193 GB, free: 6.137 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.2805, allocations: 47.83 kB / 1.193 GB, free: 6.09 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.2805, allocations: 4 kB / 1.193 GB, free: 6.086 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.2805, allocations: 8 kB / 1.193 GB, free: 6.078 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.2806, allocations: 27.91 kB / 1.193 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.2806, allocations: 35.8 kB / 1.194 GB, free: 6.016 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.2807, allocations: 87.69 kB / 1.194 GB, free: 5.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.2808, allocations: 3.984 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2808, allocations: 0 / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2808, allocations: 0 / 1.194 GB, free: 5.926 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.0005263/0.2813, allocations: 318.1 kB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2813, allocations: 11.97 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.2814, allocations: 42.73 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.2814, allocations: 12.89 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2815, allocations: 138.4 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.2816, allocations: 8.375 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.2816, allocations: 4.375 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.2818, allocations: 159.8 kB / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2818, allocations: 3.938 kB / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2818, allocations: 0 / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2818, allocations: 7.984 kB / 1.194 GB, free: 5.156 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.2821, allocations: 159.7 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.2826, allocations: 415.8 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.2827, allocations: 109.1 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2828, allocations: 81.64 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.2829, allocations: 4 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.2829, allocations: 34.55 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2829, allocations: 0 / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0003961/0.2833, allocations: 225.5 kB / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2833, allocations: 81.11 kB / 1.195 GB, free: 3.965 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.201e-05/0.2834, allocations: 133.7 kB / 1.195 GB, free: 3.824 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.2834, allocations: 25.7 kB / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.2835, allocations: 104 kB / 1.196 GB, free: 3.688 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2835, allocations: 4.266 kB / 1.196 GB, free: 3.684 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.2835, allocations: 29.7 kB / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.2836, allocations: 318.8 kB / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.2837, allocations: 63.91 kB / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2838, allocations: 73.64 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.284, allocations: 133.5 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.284, allocations: 0 / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002319/0.2842, allocations: 169.4 kB / 1.196 GB, free: 2.879 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2843, allocations: 5.719 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2843, allocations: 4 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2843, allocations: 0 / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2844, allocations: 19.97 kB / 1.196 GB, free: 2.852 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2844, allocations: 7.938 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.2844, allocations: 15.97 kB / 1.196 GB, free: 2.828 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.2845, allocations: 64 / 1.196 GB, free: 2.828 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 8.323e-05/0.2845, allocations: 133.8 kB / 1.197 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.2846, allocations: 7.953 kB / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.2846, allocations: 11.61 kB / 1.197 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2846, allocations: 0 / 1.197 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2846, allocations: 7.938 kB / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2846, allocations: 0 / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2848, allocations: 172.6 kB / 1.197 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2848, allocations: 0 / 1.197 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.67e-05/0.2848, allocations: 23.97 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2848, allocations: 0 / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2849, allocations: 7.938 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2849, allocations: 0 / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2849, allocations: 7.938 kB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.2851, allocations: 332.1 kB / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.2852, allocations: 11.94 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2852, allocations: 0 / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.2852, allocations: 15.92 kB / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.2853, allocations: 35.89 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.2853, allocations: 0 / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.2854, allocations: 99.58 kB / 1.197 GB, free: 1.906 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2854, allocations: 4 kB / 1.197 GB, free: 1.902 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001706/0.2855, allocations: 15.94 kB / 1.197 GB, free: 1.887 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.0006902/0.2862, allocations: 0.86 MB / 1.198 GB, free: 1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.2865, allocations: 144 kB / 1.198 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2865, allocations: 0 / 1.198 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.2866, allocations: 88.09 kB / 1.198 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2869, allocations: 11.92 kB / 1.198 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.2886, allocations: 1.698 MB / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.2888, allocations: 0.7002 MB / 1.201 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.545e-05/0.2888, allocations: 23.98 kB / 1.201 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.2889, allocations: 27.42 kB / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of SimCode: time 7.22e-07/0.2889, allocations: 0 / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.3091, allocations: 2.527 MB / 1.203 GB, free: 11.81 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.976, allocations: 8.047 kB / 1.203 GB, free: 11.8 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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.679657637141645] Failed to read output from testmodel.py, exit status != 0: 7.0495216101408005 7.056416965 6.774005569 Calling exit ...