Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 111.7 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 194.7 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.172/1.172, allocations: 147.6 MB / 445.6 MB, free: 8.371 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3948/0.3948, allocations: 69.5 kB / 0.6109 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.5829, allocations: 83.15 MB / 0.6921 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002074/0.585, allocations: 0.6446 MB / 0.6927 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.5862, allocations: 0.8372 MB / 0.6935 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.5863, allocations: 5.219 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.5864, allocations: 7.922 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.994e-05/0.5865, allocations: 10.16 kB / 0.6936 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.5867, allocations: 16.14 kB / 0.6936 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.5868, allocations: 76.38 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.587, allocations: 29.3 kB / 0.6937 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.5871, allocations: 37.06 kB / 0.6937 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.5872, allocations: 37.19 kB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.5872, allocations: 5.844 kB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.5873, allocations: 9.969 kB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.5873, allocations: 33.95 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.5874, allocations: 39.39 kB / 0.6938 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.5876, allocations: 85.77 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5876, allocations: 0 / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5876, allocations: 1.312 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.5876, allocations: 0 / 0.6939 GB, free: 11.95 MB / 0.5137 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.0007591/0.5884, allocations: 400.8 kB / 0.6943 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5884, allocations: 10.03 kB / 0.6943 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.5885, allocations: 41.73 kB / 0.6944 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.5885, allocations: 12.3 kB / 0.6944 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.5887, allocations: 192.8 kB / 0.6946 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.5888, allocations: 4.406 kB / 0.6946 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.5888, allocations: 8.531 kB / 0.6946 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.5892, allocations: 157.7 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.5893, allocations: 5.75 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.5893, allocations: 7.984 kB / 0.6947 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.5893, allocations: 5.812 kB / 0.6947 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.5898, allocations: 152.5 kB / 0.6949 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.5905, allocations: 444.7 kB / 0.6953 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.5908, allocations: 114.4 kB / 0.6954 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.591, allocations: 73.39 kB / 0.6955 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.591, allocations: 3.938 kB / 0.6955 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.5911, allocations: 39.94 kB / 0.6955 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.5911, allocations: 0 / 0.6955 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0007857/0.5919, allocations: 228.8 kB / 0.6957 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.5919, allocations: 81.11 kB / 0.6958 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.5921, allocations: 127.6 kB / 0.6959 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.5921, allocations: 26.08 kB / 0.696 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.5922, allocations: 104.1 kB / 0.6961 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.5922, allocations: 13.27 kB / 0.6961 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.5923, allocations: 24.58 kB / 0.6961 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5924, allocations: 317.5 kB / 0.6964 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.5927, allocations: 64.92 kB / 0.6965 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.5929, allocations: 81.22 kB / 0.6965 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.5933, allocations: 129 kB / 0.6967 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5933, allocations: 0 / 0.6967 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004729/0.5938, allocations: 161.7 kB / 0.6968 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.5938, allocations: 11.88 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5938, allocations: 0 / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.5938, allocations: 5.344 kB / 0.6968 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.594, allocations: 25.84 kB / 0.6969 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.594, allocations: 5.375 kB / 0.6969 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.5942, allocations: 16.72 kB / 0.6969 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.5942, allocations: 2.625 kB / 0.6969 GB, free: 9.363 MB / 0.5137 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 0.0001283/0.5943, allocations: 123.8 kB / 0.697 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.5944, allocations: 6.516 kB / 0.697 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.5944, allocations: 18.52 kB / 0.697 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5944, allocations: 0 / 0.697 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5944, allocations: 5.25 kB / 0.697 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5944, allocations: 1.406 kB / 0.697 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.5947, allocations: 195.1 kB / 0.6972 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5947, allocations: 1.156 kB / 0.6972 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.5949, allocations: 26.88 kB / 0.6972 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5949, allocations: 0 / 0.6972 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5949, allocations: 9.375 kB / 0.6973 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.5949, allocations: 1.344 kB / 0.6973 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.595, allocations: 11.88 kB / 0.6973 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.5956, allocations: 323.5 kB / 0.6976 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.5956, allocations: 90.61 kB / 0.6977 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.5957, allocations: 5.312 kB / 0.6977 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5958, allocations: 13.61 kB / 0.6977 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5959, allocations: 29.02 kB / 0.6977 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.596, allocations: 2.281 kB / 0.6977 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.673e-05/0.596, allocations: 93.58 kB / 0.6978 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.596, allocations: 288 / 0.6978 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002952/0.5963, allocations: 18.84 kB / 0.6978 GB, free: 8.48 MB / 0.5137 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.0009648/0.5973, allocations: 0.8701 MB / 0.6987 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.5978, allocations: 146.8 kB / 0.6988 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5979, allocations: 0 / 0.6988 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.5981, allocations: 88.02 kB / 0.6989 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.5985, allocations: 17.42 kB / 0.6989 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.6011, allocations: 1.688 MB / 0.7006 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.6015, allocations: 0.7002 MB / 0.7012 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.285e-05/0.6016, allocations: 23.97 kB / 0.7013 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.6017, allocations: 27.38 kB / 0.7013 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.6017, allocations: 0 / 0.7013 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.6279, allocations: 2.395 MB / 0.7036 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.584, allocations: 18.03 kB / 0.7036 GB, free: 2.762 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.30067712906748] Failed to read output from testmodel.py, exit status != 0: 8.656584432115778 8.678151329 8.086298223 Calling exit ...