Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001057, allocations: 191.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 65.34 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.228, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001634/0.2297, allocations: 0.7309 MB / 0.7837 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007443/0.2305, allocations: 0.8409 MB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.2305, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.691e-05/0.2306, allocations: 4 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.2307, allocations: 11.92 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.724e-05/0.2308, allocations: 19.98 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.2309, allocations: 71.81 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.231, allocations: 31.98 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.2311, allocations: 31.92 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.2311, allocations: 43.83 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2312, allocations: 4 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.2312, allocations: 4 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.2312, allocations: 31.91 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.2313, allocations: 31.84 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.702e-05/0.2314, allocations: 87.75 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2314, allocations: 3.938 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2314, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2314, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 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.0005153/0.2319, allocations: 403.5 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.232, allocations: 12.03 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.232, allocations: 38.73 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.232, allocations: 8.844 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2322, allocations: 192.2 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.2322, allocations: 8.375 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2322, allocations: 8.312 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.2325, allocations: 155.8 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2326, allocations: 3.938 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2326, allocations: 11.94 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2326, allocations: 0 / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.233, allocations: 151.8 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.2334, allocations: 448.8 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.2337, allocations: 121 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.2339, allocations: 77.7 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.2339, allocations: 0 / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.2339, allocations: 30.56 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.234, allocations: 0 / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0006451/0.2346, allocations: 237.4 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.2347, allocations: 77.11 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.2347, allocations: 125.8 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2348, allocations: 25.7 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.2348, allocations: 103.9 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.2348, allocations: 11.91 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.2349, allocations: 17.88 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.235, allocations: 322.8 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.2352, allocations: 59.92 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.2353, allocations: 81.56 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.2357, allocations: 129.6 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2357, allocations: 0 / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003905/0.2361, allocations: 169.4 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2361, allocations: 8 kB / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2361, allocations: 0 / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.2361, allocations: 0 / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2363, allocations: 23.97 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2363, allocations: 3.938 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.2364, allocations: 23.91 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.2364, allocations: 8 kB / 0.7878 GB, free: 8.523 MB / 0.6075 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.576e-05/0.2365, allocations: 126.2 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.2366, allocations: 4 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.2366, allocations: 11.61 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2366, allocations: 4 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2366, allocations: 11.86 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2366, allocations: 0 / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.2368, allocations: 197.6 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2368, allocations: 0 / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.237, allocations: 23.91 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.237, allocations: 8 kB / 0.7882 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.237, allocations: 0 / 0.7882 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.237, allocations: 0 / 0.7882 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.237, allocations: 3.938 kB / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.2374, allocations: 338.6 kB / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.2375, allocations: 81.02 kB / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2375, allocations: 0 / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.2377, allocations: 23.97 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.2377, allocations: 23.91 kB / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2378, allocations: 0 / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.2378, allocations: 103.2 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2378, allocations: 0 / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000246/0.2381, allocations: 12 kB / 0.7888 GB, free: 7.473 MB / 0.6075 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.0006597/0.2387, allocations: 0.8679 MB / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.2391, allocations: 135.8 kB / 0.7897 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2391, allocations: 0 / 0.7897 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.2394, allocations: 87.89 kB / 0.7898 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.2397, allocations: 16.19 kB / 0.7898 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.2416, allocations: 1.709 MB / 0.7915 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2418, allocations: 0.7041 MB / 0.7922 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.262e-05/0.2419, allocations: 15.98 kB / 0.7922 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.2419, allocations: 27.7 kB / 0.7922 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2419, allocations: 0 / 0.7922 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9224/1.164, allocations: 2.157 MB / 0.7943 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.165, allocations: 227.8 kB / 0.7946 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.868, allocations: 3.25 kB / 0.7946 GB, free: 1.527 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)